1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-10 11:10:27 +02:00
dockerfiles/pure-ftpd/Dockerfile
2016-05-01 09:06:20 +08:00

19 lines
401 B
Docker

#
# Dockerfile for pure-ftpd
#
FROM debian:jessie
MAINTAINER kev <noreply@easypi.info>
RUN set -xe \
&& apt-get update \
&& apt-get install -y pure-ftpd \
&& rm -rf /var/lib/apt/lists/* \
&& groupadd ftpgroup \
&& useradd -g ftpgroup -m ftpuser
EXPOSE 21
VOLUME /home/ftpuser /etc/pure-ftpd
CMD ["pure-ftpd", "--login", "puredb:/etc/pure-ftpd/pureftpd.pdb", "--createhomedir"]