1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 22:08:39 +00:00

add vsftpd

This commit is contained in:
kev 2015-07-27 22:36:02 +08:00
parent bef73e5f45
commit 1ace97bba6
4 changed files with 26 additions and 1 deletions

@ -11,4 +11,4 @@ RUN 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
CMD ["pure-ftpd", "--login", "puredb:/etc/pure-ftpd/pureftpd.pdb", "--createhomedir"]

14
vsftpd/Dockerfile Normal file

@ -0,0 +1,14 @@
#
# Dockerfile for vsftpd
#
FROM alpine
MAINTAINER kev <noreply@datageek.info>
RUN apk add -U vsftpd \
&& rm -rf /var/cache/apk/*
EXPOSE 21
USER vsftp
CMD ["vsftpd"]

5
vsftpd/README.md Normal file

@ -0,0 +1,5 @@
vsftpd
======
`vsftpd` is a GPL licensed FTP server for UNIX systems, including Linux.
It is secure and extremely fast. It is stable. Don't take my word for it, though.

@ -0,0 +1,6 @@
vsftpd:
image: vimagick/vsftpd
ports:
- "21:21"
privileged: true
restart: always