14 lines
228 B
Docker
14 lines
228 B
Docker
|
FROM alpine:latest
|
||
|
|
||
|
COPY entrypoint.sh /entrypoint.sh
|
||
|
COPY sshd_config /etc/ssh/
|
||
|
|
||
|
RUN apk add thttpd
|
||
|
|
||
|
RUN apk add openssh-server
|
||
|
RUN apk add openssh-sftp-server
|
||
|
RUN rm -rf /etc/ssh/ssh_host_*_key
|
||
|
|
||
|
ENTRYPOINT ["/entrypoint.sh"]
|
||
|
|