mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
[privatebin] update Dockerfile
This commit is contained in:
parent
883fc68041
commit
13d545b673
@ -6,12 +6,11 @@ ENV GID=991 UID=991 \
|
|||||||
UPLOAD_MAX_SIZE=10M \
|
UPLOAD_MAX_SIZE=10M \
|
||||||
MEMORY_LIMIT=128M
|
MEMORY_LIMIT=128M
|
||||||
|
|
||||||
RUN echo " https://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
RUN BUILD_DEPS="tar libressl ca-certificates" \
|
||||||
&& BUILD_DEPS="tar libressl ca-certificates" \
|
|
||||||
&& apk -U upgrade && apk add $BUILD_DEPS \
|
&& apk -U upgrade && apk add $BUILD_DEPS \
|
||||||
&& mkdir privatebin && cd privatebin \
|
&& mkdir privatebin && cd privatebin \
|
||||||
&& wget -qO- https://github.com/PrivateBin/PrivateBin/archive/${PRIVATEBIN_VER}.tar.gz | tar xz --strip 1 \
|
&& 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 \
|
&& apk del $BUILD_DEPS \
|
||||||
&& rm -f /var/cache/apk/*
|
&& rm -f /var/cache/apk/*
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user