Docker Dockerfile

 

Docker Dockerfile

Public | Automated Build
slitaz/slitaz-ssh

https://hub.docker.com/r/slitaz/slitaz-ssh/~/dockerfile/
https://github.com/alanyih/slitaz-ssh/blob/master/Dockerfile

Dockerfile

FROM slitaz/slitaz-base:latest 

RUN tazpkg -gi openssh && \
	tazpkg -cc

RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config && \
	sed -i 's/#PasswordAuthentication/PasswordAuthentication/' /etc/ssh/sshd_config 

RUN mkdir -p /var/run/sshd

EXPOSE 22/tcp 

CMD ["/usr/sbin/sshd", "-D"]

Logs
https://hub.docker.com/r/slitaz/slitaz-ssh/builds/b2dk4xcv73ytqk8tzvypq5t/

Building in Docker Cloud’s infrastructure…
Cloning into ‘.’…

KernelVersion: 4.4.0-59-generic
Os: linux
BuildTime: 2017-01-10T23:09:49.630531934+00:00
ApiVersion: 1.24
Version: 1.12.6-cs6
GitCommit: 712e864
Arch: amd64
GoVersion: go1.6.4
Starting build of index.docker.io/slitaz/slitaz-ssh:latest…
Step 1 : FROM slitaz/slitaz-base:latest

—> 50236ce3c843

Step 2 : RUN tazpkg -gi openssh && tazpkg -cc

—> Running in 04af6e5b65f6
[..]

Leave a Reply

Your email address will not be published. Required fields are marked *