Skip to content

Commit 4f375de

Browse files
authored
Merge pull request #1799 from PeterDaveHello/RefactorDockerfileApkUsage
Refactor `apk` usage in Dockerfile
2 parents 2cb96d4 + abc5694 commit 4f375de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ FROM alpine:3.11
22

33
RUN apk update && \
44
apk upgrade && \
5-
apk add --no-cache bash procps drill git coreutils libidn curl && \
5+
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)