From eaafa4d34e28a2a1eca94be6b848babf267916d0 Mon Sep 17 00:00:00 2001 From: Mike Thicke Date: Thu, 17 Oct 2024 14:37:11 -0400 Subject: [PATCH] Dockerfile syntax fixes --- Dockerfile.nginx | 2 +- Dockerfile.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.nginx b/Dockerfile.nginx index fa9c4e3c9..28d05e107 100644 --- a/Dockerfile.nginx +++ b/Dockerfile.nginx @@ -1,6 +1,6 @@ # Nginx container for running WordPress on production -FROM --platform=linux/arm64 nginx:stable-alpine3.19 +FROM nginx:stable-alpine3.19 # Ensure that important users and groups have consistent IDs across all containers. # 82 is the standard uid/gid for "www-data" on php-fpm Alpine. diff --git a/Dockerfile.php b/Dockerfile.php index b1f5c7e9d..e8cb23021 100644 --- a/Dockerfile.php +++ b/Dockerfile.php @@ -1,6 +1,6 @@ # PHP container for running WordPress -FROM --platform=linux/arm64 php:fpm-alpine3.19 AS base +FROM php:fpm-alpine3.19 AS base RUN addgroup -g 33 xfs || true \ && addgroup xfs www-data \ @@ -71,7 +71,7 @@ ln -s /app/core-plugins/*/ /app/site/web/app/plugins/ && \ ln -s /app/forked-plugins/*/ /app/site/web/app/plugins/ && \ ln -s /app/mu-plugins/* /app/site/web/app/mu-plugins/ && \ - ln -s /app/themes/*/ /app/site/web/app/themes/ && \ + ln -s /app/themes/*/ /app/site/web/app/themes/ COPY --chown=www-data:www-data composer.json /app/ COPY --chown=www-data:www-data composer.lock /app/