From abc5694408b5121ec7ae400c3644918d5bd60570 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Tue, 8 Dec 2020 23:52:04 +0800 Subject: [PATCH] Clean up apk cache in Dockerfile after packages installed This will make the image smaller. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 1859869..279e315 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ FROM alpine:3.11 RUN apk update && \ apk upgrade && \ apk add bash procps drill git coreutils libidn curl && \ + rm -rf /var/cache/apk/* && \ addgroup testssl && \ adduser -G testssl -g "testssl user" -s /bin/bash -D testssl && \ ln -s /home/testssl/testssl.sh /usr/local/bin/ && \