From 9aef3650a92acc33053d0428579bb628632121b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Thu, 29 Dec 2022 09:07:45 +0100 Subject: [PATCH] Fix PHP builds --- Dockerfile | 3 +-- build_php8.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index dacc92b..d185fd5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,8 +21,7 @@ python3 python3-pip python3-virtualenv \ libcurl4-openssl-dev python-dev libproj-dev gdal-bin libmemcached-dev swig mutt \ ffmpeg libyaml-dev libc-client2007e-dev libonig-dev libkrb5-dev dialog \ whiptail tmux rsync nmap libzip-dev libfreetype6-dev \ -jpegoptim optipng pngquant gifsicle webp libvpx-dev libwebp-dev jq inotify-tools ripgrep \ -libc-client-dev +jpegoptim optipng pngquant gifsicle webp libvpx-dev libwebp-dev jq inotify-tools ripgrep WORKDIR /srv diff --git a/build_php8.sh b/build_php8.sh index a7cb176..76d20e7 100755 --- a/build_php8.sh +++ b/build_php8.sh @@ -12,7 +12,7 @@ wget https://www.php.net/distributions/php-$VERSION.tar.bz2 tar xf php-$VERSION.tar.bz2 rm php-$VERSION.tar.bz2 -# test -e /usr/lib/x86_64-linux-gnu/libc-client.a || ln -s /usr/lib/libc-client.a /usr/lib/x86_64-linux-gnu/libc-client.a +test -e /usr/lib/x86_64-linux-gnu/libc-client.a || ln -s /usr/lib/libc-client.a /usr/lib/x86_64-linux-gnu/libc-client.a cd php-$VERSION ./configure --enable-fpm --with-mysqli --prefix=/opt/techs/php-$VERSION \