From d9518861ea4506f4335b04e0ff1e4f0a8c0a7919 Mon Sep 17 00:00:00 2001 From: Derek Muensterman Date: Mon, 6 Nov 2023 10:47:05 -0500 Subject: [PATCH] Fix Docker Build --- docker/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 2bdd793..42eeca1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -4,7 +4,7 @@ LABEL authors="Derek Muensterman - https://github.com/h2ouw8n4" # Install Memcache PHP extension RUN apt-get update && \ - apt-get install -y unzip zlib1g-dev && \ + apt-get install -y unzip zlib1g zlib1g-dev libssl-dev && \ pecl install memcache && \ docker-php-ext-enable memcache @@ -13,8 +13,10 @@ RUN curl -o w3-total-cache.zip -L -O https://downloads.wordpress.org/plugin/w3-t unzip w3-total-cache.zip -d /usr/src/wordpress/wp-content/plugins && \ rm w3-total-cache.zip -RUN curl -o latest-64bit -L -O https://elasticache-downloads.s3.amazonaws.com/ClusterClient/PHP-8.0/latest-64bit-X86-openssl3 && \ +RUN curl -o latest-64bit -L -O https://elasticache-downloads.s3.amazonaws.com/ClusterClient/PHP-8.0/latest-64bit-arm-openssl1.1 && \ tar -zxvf latest-64bit && \ + chmod o+x ./amazon-elasticache-cluster-client.so && \ + chown root:root ./amazon-elasticache-cluster-client.so && \ mv ./amazon-elasticache-cluster-client.so /usr/local/lib/php/extensions/no-debug-non-zts*/ && \ echo "extension=amazon-elasticache-cluster-client.so" | tee --append /usr/local/etc/php/conf.d/50-memcached.ini