start as root

This commit is contained in:
Sebastian Hugentobler 2016-10-13 14:04:19 +02:00
parent 0d746bc19e
commit 4fddf02c82
No known key found for this signature in database
GPG Key ID: 7BBE74D3F626FC0F
3 changed files with 3 additions and 3 deletions

View File

@ -23,4 +23,4 @@ WORKDIR /
RUN apk del tar gcc make g++ openldap-dev RUN apk del tar gcc make g++ openldap-dev
EXPOSE 2121 EXPOSE 21

View File

@ -1,7 +1,7 @@
ServerName "{{getenv "SERVER_NAME"}}" ServerName "{{getenv "SERVER_NAME"}}"
ServerType standalone ServerType standalone
DefaultServer on DefaultServer on
Port 2121 Port 21
UseIPv6 off UseIPv6 off
Umask 022 Umask 022
MaxInstances 30 MaxInstances 30

View File

@ -1,3 +1,3 @@
#!/usr/bin/with-contenv sh #!/usr/bin/with-contenv sh
exec s6-setuidgid proftp proftpd --nodaemon exec proftpd --nodaemon