From d28cce3fba29d6badb2866d6c61181215e1bdab5 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Tue, 12 Sep 2023 17:50:44 +0200 Subject: [PATCH] chore(build): cleanup apt cache after update & install --- bun.dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bun.dockerfile b/bun.dockerfile index a2f7247..d12d7c0 100644 --- a/bun.dockerfile +++ b/bun.dockerfile @@ -9,7 +9,9 @@ ARG SKIP_ENV_VALIDATION=1 ENV NODE_ENV=production RUN apt-get update && \ - apt-get install -y ca-certificates openssl=1.1.1n-0+deb11u5 + apt-get install -y ca-certificates openssl=1.1.1n-0+deb11u5 && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* COPY . .