blog-ssh-commentserver (sha256:e2d4e065893109b401ecb4506098be2af248bb2fd96f7d336c6d75844c1ab984)
Published 2024-01-10 17:10:04 +01:00 by christian
Installation
docker pull gitea.haschek.at/christian/blog-ssh-commentserver@sha256:e2d4e065893109b401ecb4506098be2af248bb2fd96f7d336c6d75844c1ab984
sha256:e2d4e065893109b401ecb4506098be2af248bb2fd96f7d336c6d75844c1ab984
Image Layers
ADD file:d8a30995bbcd627f084912c728fda5483b6ba486de25af588a0956069d0bd7ad in / |
CMD ["/bin/sh"] |
RUN /bin/sh -c apk add --no-cache openssh-server shadow openssl jq redis bash # buildkit |
COPY ssh /etc/ssh # buildkit |
RUN /bin/sh -c chmod 600 /etc/ssh/ssh_* # buildkit |
RUN /bin/sh -c chmod 644 /etc/ssh/ssh_*.pub # buildkit |
ADD blogshell.sh /usr/bin/blogshell # buildkit |
ADD run.sh /run.sh # buildkit |
ADD make_user.sh /etc/make_user.sh # buildkit |
ADD motd /etc/motd # buildkit |
VOLUME [/data] |
RUN /bin/sh -c addgroup -g 1337 -S blogposts # buildkit |
EXPOSE map[22/tcp:{}] |
CMD ["ash" "/run.sh"] |