Skip to content

Commit

Permalink
Fix Docker Build
Browse files Browse the repository at this point in the history
  • Loading branch information
h2ouw8n4 committed Nov 4, 2023
1 parent 7d46761 commit b25ebf2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +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.2/latest-64bit-X86-openssl3 && \
RUN curl -o latest-64bit -L -O https://elasticache-downloads.s3.amazonaws.com/ClusterClient/PHP-8.0/latest-64bit-X86-openssl3 && \
tar -zxvf latest-64bit && \
mv artifact/amazon-elasticache-cluster-client.so /usr/lib64/php/8.2/modules/ && \
echo "extension=amazon-elasticache-cluster-client.so" | sudo tee --append /etc/php-8.2/50-memcached.ini
mv artifact/amazon-elasticache-cluster-client.so /usr/lib64/php/8.0/modules/ && \
echo "extension=amazon-elasticache-cluster-client.so" | sudo tee --append /etc/php-8.0/50-memcached.ini

# Copy custom .htaccess
COPY custom.htaccess /usr/src/wordpress/.htaccess
Expand Down

0 comments on commit b25ebf2

Please sign in to comment.