From cf0c61c77db10457742783aa6c73e3df49b9ef6d Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 27 Dec 2023 10:54:36 +0000 Subject: [PATCH] Update WordPress and fix nginx locally When updating your Mac to the latest version Sonoma 14.2.1 there currently is not compatible nginx image (only the local image) so I've fixed the nginx image to a slightly older version for now. This is a working version. --- nginx.local.dockerfile | 4 ++-- wordpress.dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nginx.local.dockerfile b/nginx.local.dockerfile index 8e7ac313..5f304557 100644 --- a/nginx.local.dockerfile +++ b/nginx.local.dockerfile @@ -1,4 +1,4 @@ -FROM --platform=linux/arm64v8 arm64v8/nginx +FROM --platform=linux/arm64v8 arm64v8/nginx:1.25.2 RUN apt-get -y update RUN apt-get -y install vim @@ -9,5 +9,5 @@ COPY opt/nginx/localwordpress.conf /etc/nginx/conf.d/ RUN rm -r /etc/nginx/conf.d/default.conf -EXPOSE 443 +EXPOSE 443 EXPOSE 8080 diff --git a/wordpress.dockerfile b/wordpress.dockerfile index cb265366..aa9cd533 100644 --- a/wordpress.dockerfile +++ b/wordpress.dockerfile @@ -5,7 +5,7 @@ # ################################################## # Build multisite -FROM --platform=linux/amd64 wordpress:6.4.1-php8.2-fpm-alpine +FROM --platform=linux/amd64 wordpress:6.4.2-php8.2-fpm-alpine # Install additional Alpine packages RUN apk update && \