diff --git a/Dockerfile b/Dockerfile index 4922e49..8e2ddd1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.11.6 +FROM alpine:3.12.0 LABEL maintainer="Mark " @@ -19,7 +19,7 @@ RUN addgroup -S -g ${GID} ${GROUP} \ -u ${UID} -G ${GROUP} ${USER} \ && sed -i "s/${USER}:!/${USER}:*/g" /etc/shadow \ && set -x \ - && apk add --no-cache openssh-server \ + && apk add --no-cache openssh-server openssh-client python3 \ && echo "Welcome to Bastion!" > /etc/motd \ && chmod +x /usr/sbin/bastion \ && mkdir -p ${HOST_KEYS_PATH} \ @@ -30,4 +30,4 @@ EXPOSE 22/tcp VOLUME ${HOST_KEYS_PATH} -ENTRYPOINT ["bastion"] \ No newline at end of file +ENTRYPOINT ["bastion"]