From 6597d129066ccd437eed6aaae106d48f35d16fee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Fri, 4 Sep 2020 12:16:12 +0200 Subject: [PATCH] GD and zip extensions in PHP --- Dockerfile | 4 ++-- Makefile | 2 +- build_php.sh | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1bc7029..f4c9c90 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y locales libffi-dev \ libssl-dev default-libmysqlclient-dev ca-certificates libpq-dev libjpeg62 libjpeg-dev \ libpng-dev libpng-dev build-essential git mercurial build-essential \ libbz2-dev libsqlite3-dev libreadline-dev zlib1g-dev libncurses5-dev \ -libssl-dev libgdbm-dev cron git mercurial subversion vim nano mc htop procps \ +libssl-dev libgdbm-dev libgd-dev cron git mercurial subversion vim nano mc htop procps \ subversion dropbear gettext wget redis-server memcached supervisor curl ssh \ mariadb-client postgresql-client-12 postgresql-12-postgis-3-scripts bind9-host dnsutils nginx \ libxml2-dev libxslt1-dev openssh-sftp-server links2 lynx \ @@ -20,7 +20,7 @@ imagemagick libmagickwand-dev ncdu \ libcurl4-openssl-dev python3 python3-pip python3-virtualenv \ libcurl4-openssl-dev python-dev libproj-dev gdal-bin libmemcached-dev swig mutt \ imagemagick ffmpeg libyaml-dev libc-client2007e-dev libonig-dev libkrb5-dev dialog \ -whiptail tmux rsync nmap +whiptail tmux rsync nmap libzip-dev WORKDIR /srv diff --git a/Makefile b/Makefile index a528682..8600d9f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ DOCKER=docker -VERSION=2020.08-1 +VERSION=2020.09-1 all: build diff --git a/build_php.sh b/build_php.sh index fe4c335..b720e83 100755 --- a/build_php.sh +++ b/build_php.sh @@ -29,7 +29,8 @@ cd php-$VERSION --with-curl \ --with-mcrypt \ --with-zlib \ - --with-gd \ + --enable-gd \ + --with-zip \ --with-pgsql \ --disable-rpath \ --enable-inline-optimization \ @@ -43,7 +44,6 @@ cd php-$VERSION --enable-exif \ --enable-bcmath \ --with-mhash \ - --enable-zip \ --with-pcre-regex \ --with-mysql \ --with-pdo-mysql \