You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
243 B

  1. FROM alpine:3.7
  2. RUN apk add --no-cache openssh openssh-sftp-server
  3. RUN ssh-keygen -t rsa -b 4096 -f /etc/ssh/ssh_host_rsa_key -N '' && \
  4. ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N ''
  5. COPY src/ .
  6. CMD /usr/sbin/sshd -D -e