ssh (latest-arm64)

Published 2024-10-15 13:27:33 +00:00 by deon in docker/ssh

Installation

docker pull gitea.dege.au/docker/ssh:latest-arm64
sha256:36a6a842f516cf04cb28d2d6091ae7291e5d7330bfe1fd39cd6dab3d500d85ee

Image Layers

ADD file:ee5bb8409915b11413f44cce4c22fed658aba4fb078a448e08dd4ac9a23581f2 in /
CMD ["/bin/sh"]
RUN /bin/sh -c if [ -n ${HTTP_PROXY} ] ; then sed -i -e s'/https/http/' /etc/apk/repositories; fi # buildkit
ENV SSH_KEY_PATH=/etc/ssh/keys
RUN /bin/sh -c apk add --no-cache bash git unzip openssh # buildkit
RUN /bin/sh -c sed -i -e "s:#HostKey\ /etc/ssh:HostKey ${SSH_KEY_PATH}:" -e "s:#PasswordAuthentication yes:PasswordAuthentication no:" /etc/ssh/sshd_config # buildkit
RUN /bin/sh -c adduser -g "Hosting Admin User" -u 1000 -G www-data -h /home/lamp -HD lamp && echo "lamp:*" | chpasswd -e # buildkit
RUN /bin/sh -c apk add --no-cache mariadb-client postgresql-client # buildkit
COPY docker/init-docker /sbin/ # buildkit
VOLUME [/etc/ssh/keys /home/lamp]
EXPOSE map[22/tcp:{}]
ENTRYPOINT ["/sbin/init-docker"]
Details
Container
2024-10-15 13:27:33 +00:00
2
OCI / Docker
linux/arm64/v8
34 MiB
Versions (3) View all
latest 2024-10-15
latest-arm64 2024-10-15
latest-x86_64 2024-10-15