docker-rainloop/Dockerfile
Jan Christian Grünhage 6b89f02232
Some checks failed
the build failed
move to base-php, move download out of Dockerfile
move to base-php, which is based on a self built caddy container.
move download out of Dockerfile, because this made it huge and unreadable.

fixes #1
2018-01-28 00:25:00 +01:00

21 lines
470 B
Docker

FROM docker.jcg.re/base-php
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
VOLUME /rainloop/data