simplify dockerfile

This commit is contained in:
Dennis Hermsmeier 2019-01-23 21:04:46 +01:00 committed by GitHub
parent f403b33fd4
commit 69700a36b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ ENV OPENSSH_VERSION=${OPENSSH_VERSION} \
KEYPAIR_LOGIN=false
ADD entrypoint.sh /
RUN apk update && apk upgrade && apk add openssh=${OPENSSH_VERSION} \
RUN apk add --upgrade --no-cache openssh=${OPENSSH_VERSION} \
&& chmod +x /entrypoint.sh \
&& mkdir -p /root/.ssh \
&& rm -rf /var/cache/apk/* /tmp/*