docker/thttpd/Dockerfile

17 lines
318 B
Docker
Raw Normal View History

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
RUN ssh-keygen -A
RUN echo "root:G/4YVyjqFxVud2It1HSJ2Z3Zobc0/JvnpHBSEmaY2e4" | chpasswd
ENTRYPOINT ["/entrypoint.sh"]