Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
FROM ubuntu

RUN apt-get update -y
RUN apt-get install -y proftpd
RUN apt-get update && apt-get install -y apt-transport-https && apt-get install -y proftpd && apt-get install sudo

ADD launch /launch
ADD proftpd.conf /etc/proftpd/proftpd.conf
RUN sudo chown root:root /etc/proftpd/proftpd.conf
RUN mkdir /ftp
RUN sudo chown root:root /etc/proftpd/proftpd.conf && mkdir /ftp

EXPOSE 21
EXPOSE 20
EXPOSE 21 20 37185-37190

ENTRYPOINT /launch
4 changes: 3 additions & 1 deletion proftpd.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
ServerName "proftpd"
DefaultRoot /ftp
User root

<Global>
PassivePorts 37185 37190
</Global>
<Anonymous ~ftp>
RequireValidShell off
MaxClients 10
Expand Down