Skip to content

Commit abc5694

Browse files
Clean up apk cache in Dockerfile after packages installed
This will make the image smaller.
1 parent da84740 commit abc5694

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM alpine:3.11
33
RUN apk update && \
44
apk upgrade && \
55
apk add bash procps drill git coreutils libidn curl && \
6+
rm -rf /var/cache/apk/* && \
67
addgroup testssl && \
78
adduser -G testssl -g "testssl user" -s /bin/bash -D testssl && \
89
ln -s /home/testssl/testssl.sh /usr/local/bin/ && \

0 commit comments

Comments
 (0)