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

15 lines
350 B
Docker
Raw Normal View History

2015-06-09 22:45:42 +08:00
#
# Dockerfile for pure-ftpd
#
FROM debian:jessie
MAINTAINER kev <noreply@datageek.info>
2015-06-09 23:49:13 +08: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 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
2015-06-10 00:23:05 +08:00
CMD pure-ftpd --login puredb:/etc/pure-ftpd/pureftpd.pdb --createhomedir