docker-ssh-jumphost (sha256:05c8e8729c0c7abcf3f5cb62048b0b84a5e78bdd39159fecb741af9157ba275f)
Published 2024-11-17 00:07:33 +01:00 by chris
Installation
docker pull git.debilux.org/chris/docker-ssh-jumphost@sha256:05c8e8729c0c7abcf3f5cb62048b0b84a5e78bdd39159fecb741af9157ba275f
sha256:05c8e8729c0c7abcf3f5cb62048b0b84a5e78bdd39159fecb741af9157ba275f
Image Layers
ADD alpine-minirootfs-3.20.3-x86_64.tar.gz / # buildkit |
CMD ["/bin/sh"] |
RUN /bin/sh -c apk add --update openssh # buildkit |
COPY sshd_config /etc/ssh/sshd_bastion_config # buildkit |
RUN /bin/sh -c echo "Include /etc/ssh/sshd_bastion_config" >> /etc/ssh/sshd_config # buildkit |
RUN /bin/sh -c adduser -D -s /bin/sh -H bastion # buildkit |
RUN /bin/sh -c passwd -u -d bastion # buildkit |
EXPOSE map[2222/tcp:{}] |
COPY entrypoint.sh /usr/local/bin/entrypoint.sh # buildkit |
RUN /bin/sh -c chmod +x /usr/local/bin/entrypoint.sh # buildkit |
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] |