From b01f1f1867136d9b2d7b1392776eb363b482c525 Mon Sep 17 00:00:00 2001 From: Juan Font Date: Fri, 12 May 2023 08:05:06 +0000 Subject: [PATCH] Clean apt --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c3f365f1..b1ec3317 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,9 @@ RUN test -e /go/bin/headscale FROM docker.io/debian:bullseye-slim RUN apt-get update \ - && apt-get install -y ca-certificates + && apt-get install -y ca-certificates \ + && rm -rf /var/lib/apt/lists/* \ + && apt-get clean COPY --from=build /go/bin/headscale /bin/headscale ENV TZ UTC