From f43c78614773f56396b7ff8406f45e89e9a6e934 Mon Sep 17 00:00:00 2001 From: Terje Kvernes Date: Mon, 6 Jul 2020 09:52:55 +0200 Subject: [PATCH] Add python3 and update to Alpine 3.12.0. - Python3 is required for sshuttle: https://github.com/sshuttle/sshuttle - Update to Alpine 3.12.0. - Explicitly install openssh-client. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"]