2018-01-27 23:25:00 +00:00
|
|
|
FROM docker.jcg.re/base-php
|
2017-01-18 19:03:27 +00:00
|
|
|
|
2018-01-27 23:25:00 +00:00
|
|
|
ADD rainloop /rainloop
|
|
|
|
RUN apk add --no-cache \
|
|
|
|
php7-curl \
|
|
|
|
php7-iconv \
|
|
|
|
php7-xml \
|
|
|
|
php7-dom \
|
|
|
|
php7-openssl \
|
|
|
|
php7-json \
|
|
|
|
php7-zlib \
|
|
|
|
php7-pdo_mysql \
|
|
|
|
php7-pdo_pgsql \
|
|
|
|
php7-pdo_sqlite \
|
|
|
|
php7-sqlite3 \
|
|
|
|
&& sed -i "s#/phpapp#/rainloop#" /etc/Caddyfile \
|
|
|
|
&& sed -i "s#/phpapp#/rainloop#" /etc/s6.d/php/run \
|
|
|
|
&& echo "internal /data" >> /etc/Caddyfile
|
2018-01-08 21:44:15 +00:00
|
|
|
|
|
|
|
VOLUME /rainloop/data
|