Version bump to 1.1.1. Config file changed to .php.

This commit is contained in:
Jeroen Geusebroek
2017-11-30 22:59:30 +01:00
parent 2c89e56e98
commit 6ef2b4ebda
2 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
FROM alpine:latest
MAINTAINER Jeroen Geusebroek <me@jeroengeusebroek.nl>
ARG VERSION=1.1
ARG VERSION=1.1.1
ENV GID=991 UID=991
@@ -23,7 +23,7 @@ RUN apk -U add \
&& tar xvzf privatebin.tar.gz --strip 1 \
&& rm privatebin.tar.gz \
&& mv cfg/conf.ini.sample /privatebin \
&& mv cfg/conf.sample.php /privatebin \
&& apk del tar ca-certificates curl libcurl \
&& rm -f /var/cache/apk/*

View File

@@ -4,7 +4,7 @@ addgroup -g ${GID} privatebin && adduser -h /privatebin -s /bin/sh -D -G private
touch /var/run/php-fpm.sock
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
chown -R privatebin:privatebin /privatebin /var/run/php-fpm.sock /var/lib/nginx /tmp /var/tmp/nginx