mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
add vsftpd
This commit is contained in:
parent
bef73e5f45
commit
1ace97bba6
@ -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
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
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.
|
6
vsftpd/docker-compose.yml
Normal file
6
vsftpd/docker-compose.yml
Normal file
@ -0,0 +1,6 @@
|
||||
vsftpd:
|
||||
image: vimagick/vsftpd
|
||||
ports:
|
||||
- "21:21"
|
||||
privileged: true
|
||||
restart: always
|
Loading…
Reference in New Issue
Block a user