mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-19 20:09:16 +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 \
|
||||
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/*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user