Stop using deprecated TARGETPLATFORM @ FROM directives

This commit is contained in:
2025-03-28 21:25:45 +01:00
parent fa0f3253ee
commit dbce14299f

View File

@@ -14,7 +14,7 @@ RUN set -eux \
# Build/tag WPCLI
FROM --platform=${TARGETPLATFORM} wordpress:cli-php${PHP_VERSION} AS wp-cli
FROM wordpress:cli-php${PHP_VERSION} AS wp-cli
@@ -33,7 +33,7 @@ COPY --chmod=0777 ["./wp-patch-tests.sh", "/usr/local/bin/wp-patch-tests"]
# Build final image
ARG PHP_VERSION
ARG WP_VERSION
FROM --platform=${TARGETPLATFORM} wordpress:${WP_VERSION}-php${PHP_VERSION}-fpm-alpine
FROM wordpress:${WP_VERSION}-php${PHP_VERSION}-fpm-alpine
RUN set -eux \