Version bump to 1.1.1. Config file changed to .php.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
MAINTAINER Jeroen Geusebroek <me@jeroengeusebroek.nl>
|
MAINTAINER Jeroen Geusebroek <me@jeroengeusebroek.nl>
|
||||||
|
|
||||||
ARG VERSION=1.1
|
ARG VERSION=1.1.1
|
||||||
|
|
||||||
ENV GID=991 UID=991
|
ENV GID=991 UID=991
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@ RUN apk -U add \
|
|||||||
&& tar xvzf privatebin.tar.gz --strip 1 \
|
&& tar xvzf privatebin.tar.gz --strip 1 \
|
||||||
&& rm privatebin.tar.gz \
|
&& rm privatebin.tar.gz \
|
||||||
|
|
||||||
&& mv cfg/conf.ini.sample /privatebin \
|
&& mv cfg/conf.sample.php /privatebin \
|
||||||
&& apk del tar ca-certificates curl libcurl \
|
&& apk del tar ca-certificates curl libcurl \
|
||||||
&& rm -f /var/cache/apk/*
|
&& rm -f /var/cache/apk/*
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ addgroup -g ${GID} privatebin && adduser -h /privatebin -s /bin/sh -D -G private
|
|||||||
touch /var/run/php-fpm.sock
|
touch /var/run/php-fpm.sock
|
||||||
|
|
||||||
if [ ! -f /privatebin/cfg/conf.ini ]; then
|
if [ ! -f /privatebin/cfg/conf.ini ]; then
|
||||||
cp /privatebin/conf.ini.sample /privatebin/cfg/conf.ini
|
cp /privatebin/conf.sample.php /privatebin/cfg/conf.php
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chown -R privatebin:privatebin /privatebin /var/run/php-fpm.sock /var/lib/nginx /tmp /var/tmp/nginx
|
chown -R privatebin:privatebin /privatebin /var/run/php-fpm.sock /var/lib/nginx /tmp /var/tmp/nginx
|
||||||
|
|||||||
Reference in New Issue
Block a user