From 097619d960b1fb39e629f734e88b9b8e60da7eff Mon Sep 17 00:00:00 2001 From: Jan Date: Mon, 25 Jun 2018 09:45:54 +0200 Subject: [PATCH 1/2] Update Dockerfile The build or rather the installation of the zip extensions fails with ``` checking for the location of zlib... configure: error: zip support requires ZLIB. Use --with-zlib-dir= to specify prefix where ZLIB include and library are located ``` Adding ```zlib-dev``` to the ```apk add```` section should fix this. --- web/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/Dockerfile b/web/Dockerfile index 72a09ba..5a86eb4 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -7,7 +7,7 @@ ENV PHPCENSOR_VERSION=0.22.0 WORKDIR /var/www/html RUN apk update && \ - apk add git nginx openssh postgresql-dev openldap-dev gettext && \ + apk add git nginx openssh postgresql-dev openldap-dev gettext zlib-dev && \ curl -sS https://getcomposer.org/installer | php && \ mv composer.phar /usr/bin/composer From 8f9d0a5f00a8a8df1bdbb4682e35e1ae6ff097a6 Mon Sep 17 00:00:00 2001 From: Jan Date: Mon, 25 Jun 2018 12:57:36 +0200 Subject: [PATCH 2/2] Added zlib-dev to worker --- worker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/Dockerfile b/worker/Dockerfile index 9d015de..c85a126 100644 --- a/worker/Dockerfile +++ b/worker/Dockerfile @@ -7,7 +7,7 @@ ENV PHPCENSOR_VERSION=0.22.0 WORKDIR /var/www/html RUN apk update && \ - apk add git openssh postgresql-dev gettext && \ + apk add git openssh postgresql-dev gettext zlib-dev && \ curl -sS https://getcomposer.org/installer | php && \ mv composer.phar /usr/bin/composer