Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.11.6
FROM alpine:3.12.0

LABEL maintainer="Mark <mark.binlab@gmail.com>"

Expand All @@ -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} \
Expand All @@ -30,4 +30,4 @@ EXPOSE 22/tcp

VOLUME ${HOST_KEYS_PATH}

ENTRYPOINT ["bastion"]
ENTRYPOINT ["bastion"]