From 2b67801ed3d6b0a8616c98a492603a9f11efa368 Mon Sep 17 00:00:00 2001 From: kev Date: Sun, 23 Aug 2015 17:15:53 +0800 Subject: [PATCH] update --- pure-ftpd/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pure-ftpd/Dockerfile b/pure-ftpd/Dockerfile index e3341b3..7a74fa2 100644 --- a/pure-ftpd/Dockerfile +++ b/pure-ftpd/Dockerfile @@ -5,8 +5,11 @@ FROM debian:jessie MAINTAINER kev -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