mirror of
https://gitee.com/kennylee/docker.git
synced 2024-12-01 19:38:30 +08:00
优化pureftp
This commit is contained in:
parent
7bc880b92e
commit
0d2c9df1cf
@ -4,15 +4,14 @@
|
||||
# Base image: https://github.com/stilliard/docker-pure-ftpd
|
||||
# Command format: Instruction [arguments command] ..
|
||||
|
||||
# 第一行必须指定基于的基础镜像
|
||||
FROM stilliard/pure-ftpd
|
||||
|
||||
# 维护者信息
|
||||
MAINTAINER kennylee26 <kennylee26@gmail.com>
|
||||
|
||||
ENV FTP_USER_HOME=/home/ftpusers
|
||||
ENV FTP_USER=ftp
|
||||
ENV FTP_PWD=ftp
|
||||
ENV TZ=Asia/Shanghai
|
||||
|
||||
RUN curl http://mirrors.163.com/.help/sources.list.jessie>/etc/apt/sources.list
|
||||
|
||||
|
@ -9,5 +9,3 @@ app:
|
||||
- /home/data/ftp/files:/home/ftpusers
|
||||
- /home/data/ftp/pure-ftpd:/etc/pure-ftpd
|
||||
restart: always
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
|
Loading…
Reference in New Issue
Block a user