inception/srcs/requirements/ftp/Dockerfile
Danny Houtworm 62cb0edc4b bla
2023-08-10 08:32:03 +00:00

15 lines
414 B
Docker

FROM alpine
RUN sleep 10
RUN apk update
RUN apk add openssl
RUN apk add pure-ftpd --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted
#RUN apk add vsftpd
#COPY srcs/start.sh /root/start.sh
#COPY srcs/vsftpd.conf /etc/vsftpd/vsftpd.conf
WORKDIR /root/
RUN adduser --disabled-password admin
RUN echo "admin:password" | chpasswd
CMD pure-ftpd -p 21000:21000
EXPOSE 21/tcp
EXPOSE 21000/tcp