[privatebin] update Dockerfile

This commit is contained in:
hoellen 2017-12-06 15:06:45 +01:00
parent 883fc68041
commit 13d545b673

View File

@ -6,12 +6,11 @@ ENV GID=991 UID=991 \
UPLOAD_MAX_SIZE=10M \
MEMORY_LIMIT=128M
RUN echo " https://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& BUILD_DEPS="tar libressl ca-certificates" \
RUN BUILD_DEPS="tar libressl ca-certificates" \
&& apk -U upgrade && apk add $BUILD_DEPS \
&& mkdir privatebin && cd privatebin \
&& wget -qO- https://github.com/PrivateBin/PrivateBin/archive/${PRIVATEBIN_VER}.tar.gz | tar xz --strip 1 \
&& mv cfg/conf.ini.sample cfg/conf.ini \
&& mv cfg/conf.sample.php cfg/conf.php \
&& apk del $BUILD_DEPS \
&& rm -f /var/cache/apk/*