From 69903dd873df8739df085781a14e5a4894451944 Mon Sep 17 00:00:00 2001 From: Aleksander Cynarski Date: Sat, 21 Aug 2021 15:51:12 +0200 Subject: [PATCH] dodanie ext-zip --- Dockerfile | 8 +++----- docker/usr/local/bin/php_configure.sh | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6ac100a..6113fc1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,10 +50,8 @@ ARG ENVIRONMENT=production RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && apk update # install system libs -RUN apk add --no-cache libintl c-client libpng icu-libs libldap libpq libjpeg freetype libzip shadow sudo wget bash git openssh supervisor nginx openssl zip fluent-bit - -# force apk upgrade, clear apk cache -RUN apk --no-cache upgrade && rm -rf /var/cache/apk/* +RUN apk add --no-cache libintl c-client libpng icu-libs libldap libpq libjpeg freetype libzip shadow sudo wget bash git openssh supervisor nginx openssl zip fluent-bit \ + && apk --no-cache upgrade && rm -rf /var/cache/apk/* ENV DIR /var/www ENV DOCKERIZE_VERSION v0.6.1 @@ -78,7 +76,7 @@ RUN wget -O /bin/cachetool http://gordalina.github.io/cachetool/downloads/cachet RUN chmod a+x /bin/cachetool # Create directories -RUN mkdir -p /var/www +RUN mkdir -p ${DIR} WORKDIR $DIR diff --git a/docker/usr/local/bin/php_configure.sh b/docker/usr/local/bin/php_configure.sh index cfa2b3e..8e47038 100755 --- a/docker/usr/local/bin/php_configure.sh +++ b/docker/usr/local/bin/php_configure.sh @@ -1,7 +1,7 @@ #!/bin/bash PHP_VERSION=`php -r 'echo PHP_MAJOR_VERSION.PHP_MINOR_VERSION;'` -PHP_MODULES=("calendar" "bcmath" "bz2" "curl" "fileinfo" "gd" "gettext" "iconv" "imap" "intl" "ldap" "mbstring" "opcache" "pcntl" "pdo" "pdo_mysql" "pdo_pgsql" "pdo_sqlite" "pgsql" "phar" "session" "simplexml" "soap" "xml") +PHP_MODULES=("calendar" "bcmath" "bz2" "curl" "fileinfo" "gd" "gettext" "iconv" "imap" "intl" "ldap" "mbstring" "opcache" "pcntl" "pdo" "pdo_mysql" "pdo_pgsql" "pdo_sqlite" "pgsql" "phar" "session" "simplexml" "soap" "xml", "zip") # # Helper functions