Merge pull request #1799 from PeterDaveHello/RefactorDockerfileApkUsage

Refactor `apk` usage in Dockerfile
This commit is contained in:
Dirk Wetter 2020-12-09 09:17:00 +01:00 committed by GitHub
commit 4f375de26c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,8 @@ FROM alpine:3.11
RUN apk update && \
apk upgrade && \
apk add --no-cache bash procps drill git coreutils libidn curl && \
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/ && \