Add MySQL support

This commit is contained in:
Jeroen Geusebroek
2018-03-19 09:43:07 +01:00
parent d4287b2481
commit d8a9f45cb2

View File

@@ -13,16 +13,16 @@ RUN apk -U add \
php7-mcrypt \ php7-mcrypt \
php7-json \ php7-json \
php7-zlib \ php7-zlib \
php7-pdo \
php7-pdo_mysql \
supervisor \ supervisor \
tini \ tini \
ca-certificates \ ca-certificates \
tar \ tar \
&& mkdir privatebin && cd privatebin \ && mkdir privatebin && cd privatebin \
&& curl -L -o privatebin.tar.gz https://github.com/PrivateBin/PrivateBin/archive/$VERSION.tar.gz \ && curl -L -o privatebin.tar.gz https://github.com/PrivateBin/PrivateBin/archive/$VERSION.tar.gz \
&& 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.sample.php /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/*