Dockerfile 241 B

12345678910111213
  1. FROM alpine:3.7
  2. LABEL maintainer="Amir Mofasser (@amimof)"
  3. COPY sshd_config /etc/ssh/sshd_config
  4. COPY server /
  5. RUN set -x \
  6. && apk add --no-cache --update openssh bash \
  7. && mkdir -p /var/run/sshd \
  8. && chmod +x /server
  9. CMD ["/server"]