blog-ssh-commentserver (sha256:3b95871c5904d9ffa44e667687cd5fe8a500180f23aa8f5ffd7aa461dc227d1b)
Published 2023-07-18 19:30:29 +02:00 by christian
Installation
docker pull gitea.haschek.at/christian/blog-ssh-commentserver@sha256:3b95871c5904d9ffa44e667687cd5fe8a500180f23aa8f5ffd7aa461dc227d1b
sha256:3b95871c5904d9ffa44e667687cd5fe8a500180f23aa8f5ffd7aa461dc227d1b
Image Layers
ADD file:082f034323c559f3cb9feb6422c88b1ec8017f436d6109e238a5c5384a32a90a 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"] |