1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-20 04:59:27 +02:00
dockerfiles/pure-ftpd/Dockerfile

20 lines
376 B
Docker
Raw Normal View History

2015-06-09 22:45:42 +08:00
#
# Dockerfile for pure-ftpd
#
2019-10-08 17:50:31 +08:00
FROM debian:buster
2017-05-08 07:05:07 +08:00
MAINTAINER kev <noreply@easypi.pro>
2015-06-09 22:45:42 +08:00
2016-04-05 13:30:19 +08:00
RUN set -xe \
&& apt-get update \
2015-08-23 17:15:53 +08:00
&& apt-get install -y pure-ftpd \
&& rm -rf /var/lib/apt/lists/* \
&& groupadd ftpgroup \
&& useradd -g ftpgroup -m ftpuser
2015-06-09 22:45:42 +08:00
EXPOSE 21
2015-06-09 23:14:02 +08:00
VOLUME /home/ftpuser /etc/pure-ftpd
2015-06-09 22:45:42 +08:00
2019-10-08 17:50:31 +08:00
ENTRYPOINT ["pure-ftpd"]
CMD ["/etc/pure-ftpd/pureftpd.conf"]