FROM ubuntu:16.04
RUN apt-get update && apt-get install -y openssh-server rsync RUN mkdir /var/run/sshd RUN sed 's@session\srequired\spam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd
ENV NOTVISIBLE "in users profile"
RUN echo "export VISIBLE=now" >> /etc/profile
RUN groupadd --gid 1000 filecluster
&& useradd --uid 1000 --gid 1000 filecluster --shell /bin/bash
EXPOSE 22 CMD ["/usr/sbin/sshd", "-D"]
Content type
Image
Digest
Size
91.7 MB
Last updated
over 8 years ago
docker pull asigatchov/ubuntu16-sshd