From fe8d6a5bcd5cf0cd422a0e39b4a1d92a4eaaf3b3 Mon Sep 17 00:00:00 2001 From: Mauro Torrez Date: Sun, 28 Apr 2019 02:14:33 -0300 Subject: [PATCH] arreglando build --- files/Dockerfile | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/files/Dockerfile b/files/Dockerfile index 7ffb35f..c1ba2e4 100644 --- a/files/Dockerfile +++ b/files/Dockerfile @@ -4,9 +4,11 @@ LABEL maintainer="Mauro Torrez " 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