1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00
This commit is contained in:
kev 2015-08-23 17:15:53 +08:00
parent be941f198e
commit 2b67801ed3

View File

@ -5,8 +5,11 @@
FROM debian:jessie
MAINTAINER kev <noreply@datageek.info>
RUN apt-get update && apt-get install -y pure-ftpd && rm -rf /var/lib/apt/lists/*
RUN groupadd ftpgroup && useradd -g ftpgroup -m ftpuser
RUN apt-get update \
&& apt-get install -y pure-ftpd \
&& rm -rf /var/lib/apt/lists/* \
&& groupadd ftpgroup \
&& useradd -g ftpgroup -m ftpuser
EXPOSE 21
VOLUME /home/ftpuser /etc/pure-ftpd