arreglando build

This commit is contained in:
Mauro Torrez
2019-04-28 01:43:00 -03:00
parent 858ea4ad91
commit 0615f4a703
2 changed files with 22 additions and 4 deletions

View File

@@ -4,6 +4,9 @@ LABEL maintainer="Mauro Torrez <mauro@mau.ro>"
VOLUME /srv/app/data
VOLUME /srv/app/plugins
ENV BUILD_DEPS \
libssl-dev
# Install application dependencies
RUN curl --silent --show-error --fail --location \
--header "Accept: application/tar+gzip, application/x-gzip, application/octet-stream" -o - \
@@ -11,11 +14,15 @@ RUN curl --silent --show-error --fail --location \
| tar --no-same-owner -C /usr/bin/ -xz caddy \
&& chmod 0755 /usr/bin/caddy \
&& /usr/bin/caddy -version \
&& apt-get update \
&& apt-get install -y $BUILD_DEPS --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
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 /srv/app
ADD src/kanboard/* /srv/app/
ADD docker/Caddyfile /etc/Caddyfile
WORKDIR /srv/app/