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