arreglando build

This commit is contained in:
Mauro Torrez 2019-04-28 02:14:33 -03:00
parent 88086e2460
commit fe8d6a5bcd

View File

@ -4,9 +4,11 @@ LABEL maintainer="Mauro Torrez <mauro@mau.ro>"
VOLUME /srv/app/data
VOLUME /srv/app/plugins
ENV BUILD_DEPS \
libssl-dev \
libcurl4-openssl-dev
ENV DEPS \
php7.0 php7.0-phar php7.0-curl php7.0-fpm php7.0-json php7.0-xml \
php7.0-dom php7.0-opcache php7.0-zip php7.0-mysql php7.0-sqlite \
php7.0-pgsql php7.0-mbstring php7.0-bcmath php7.0-gd php7.0-mcrypt \
php7.0-ldap php7.0-xml
# Install application dependencies
RUN curl --silent --show-error --fail --location \
@ -16,12 +18,12 @@ RUN curl --silent --show-error --fail --location \
&& chmod 0755 /usr/bin/caddy \
&& /usr/bin/caddy -version \
&& apt-get update \
&& apt-get install -y $BUILD_DEPS curl --no-install-recommends \
&& rm -r /var/lib/apt/lists/* \
&& docker-php-ext-install phar curl json zlib xml dom ctype opcache zip iconv \
pdo pdo_mysql pdo_sqlite pdo_pgsql mbstring session bcmath \
gd mcrypt openssl sockets posix ldap simplexml \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false;
&& apt-get install -y $DEPS curl --no-install-recommends \
&& rm -r /var/lib/apt/lists/*
# && docker-php-ext-install phar curl json zlib xml dom ctype opcache zip iconv \
# pdo pdo_mysql pdo_sqlite pdo_pgsql mbstring session bcmath \
# gd mcrypt openssl sockets posix ldap simplexml \
# && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false;
ADD src/kanboard /srv/app
ADD docker/Caddyfile /etc/Caddyfile