1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-12 11:15:04 +02:00
dockerfiles/pure-ftpd/Dockerfile

15 lines
363 B
Docker
Raw Normal View History

2015-06-09 16:45:42 +02:00
#
# Dockerfile for pure-ftpd
#
FROM debian:jessie
MAINTAINER kev <noreply@datageek.info>
2015-06-09 17:49:13 +02:00
RUN apt-get update && apt-get install -y pure-ftpd && rm -rf /var/lib/apt/lists/*
RUN 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
2015-07-27 16:36:02 +02:00
CMD ["pure-ftpd", "--login", "puredb:/etc/pure-ftpd/pureftpd.pdb", "--createhomedir"]