Initial import
This commit is contained in:
commit
4cbea31c9c
2 changed files with 16 additions and 0 deletions
7
Dockerfile
Normal file
7
Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
FROM stilliard/pure-ftpd
|
||||||
|
|
||||||
|
ADD run.sh /run.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
9
run.sh
Normal file
9
run.sh
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
pure-pw useradd dt-site \
|
||||||
|
-u 1001 \
|
||||||
|
-g 1001 \
|
||||||
|
-f /etc/pure-ftpd/passwd/pureftpd.passwd \
|
||||||
|
-m \
|
||||||
|
-d /sites/dt-site
|
||||||
|
|
Loading…
Reference in a new issue