ssh (latest-x86_64)
Installation
docker pull dev.dege.au/docker/ssh:latest-x86_64
sha256:412f9ac47f21e606b296c0f023102eec568332dc89913ae1757dbbda59c42f49
Image Layers
ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 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
Versions (3)
View all