diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 18557b3..173a181 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ concurrency: jobs: build: - uses: specsnl/github-actions/.github/workflows/build-php.yml@1.1.1 + uses: specsnl/github-actions/.github/workflows/build-php.yml@1.2.1 strategy: fail-fast: false matrix: @@ -38,7 +38,7 @@ jobs: dockerfile: ${{ matrix.docker.dockerfile }} merge: - uses: specsnl/github-actions/.github/workflows/merge-php.yml@1.1.1 + uses: specsnl/github-actions/.github/workflows/merge-php.yml@1.2.1 needs: build strategy: matrix: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 2f6b1df..cabd185 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -14,7 +14,7 @@ concurrency: jobs: build: - uses: specsnl/github-actions/.github/workflows/build-php.yml@1.1.1 + uses: specsnl/github-actions/.github/workflows/build-php.yml@1.2.1 strategy: fail-fast: false matrix: @@ -37,7 +37,7 @@ jobs: dockerfile: ${{ matrix.docker.dockerfile }} merge: - uses: specsnl/github-actions/.github/workflows/merge-php.yml@1.1.1 + uses: specsnl/github-actions/.github/workflows/merge-php.yml@1.2.1 needs: build strategy: matrix: diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 3c2ce0b..d1240f8 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -15,7 +15,7 @@ concurrency: jobs: build: - uses: specsnl/github-actions/.github/workflows/build-php.yml@1.1.1 + uses: specsnl/github-actions/.github/workflows/build-php.yml@1.2.1 strategy: fail-fast: false matrix: @@ -38,7 +38,7 @@ jobs: dockerfile: ${{ matrix.docker.dockerfile }} merge: - uses: specsnl/github-actions/.github/workflows/merge-php.yml@1.1.1 + uses: specsnl/github-actions/.github/workflows/merge-php.yml@1.2.1 needs: build strategy: matrix: diff --git a/apache/Dockerfile b/apache/Dockerfile index d2af743..9b74c66 100644 --- a/apache/Dockerfile +++ b/apache/Dockerfile @@ -4,6 +4,8 @@ # Latest version of PHP base image: https://hub.docker.com/_/php/tags FROM php:8.3.30-apache-trixie AS runtime +ARG DEBIAN_FRONTEND=noninteractive + ARG XDG_CONFIG_HOME=/config ENV XDG_CONFIG_HOME=$XDG_CONFIG_HOME @@ -28,7 +30,7 @@ ENV SMTPEHLO=localhost WORKDIR /var/www # Latest version of Pie: https://github.com/php/pie/releases -COPY --from=ghcr.io/php/pie:1.3.10-bin /pie /usr/bin/pie +COPY --from=ghcr.io/php/pie:1.4.0-bin /pie /usr/bin/pie RUN apt-get update \ && apt-get install --assume-yes --no-install-recommends \ @@ -140,6 +142,9 @@ COPY files / FROM runtime AS builder +ARG TARGETARCH +ARG DEBIAN_FRONTEND=noninteractive + # Latest version of Phive: https://api.github.com/repos/phar-io/phive/releases/latest ARG PHIVE_VERSION=0.16.0 # Latest version of Composer: https://getcomposer.org/download @@ -233,6 +238,9 @@ EOF FROM builder AS builder_nodejs ARG TARGETARCH +ARG DEBIAN_FRONTEND=noninteractive + +ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0 SHELL ["/bin/bash", "-o", "pipefail", "-c"] diff --git a/fpm/Dockerfile b/fpm/Dockerfile index c326655..e610626 100644 --- a/fpm/Dockerfile +++ b/fpm/Dockerfile @@ -4,6 +4,8 @@ # Latest version of PHP base image: https://hub.docker.com/_/php/tags FROM php:8.3.30-fpm-trixie AS runtime +ARG DEBIAN_FRONTEND=noninteractive + ARG XDG_CONFIG_HOME=/config ENV XDG_CONFIG_HOME=$XDG_CONFIG_HOME @@ -28,7 +30,7 @@ ENV SMTPEHLO=localhost WORKDIR /var/www # Latest version of Pie: https://github.com/php/pie/releases -COPY --from=ghcr.io/php/pie:1.3.10-bin /pie /usr/bin/pie +COPY --from=ghcr.io/php/pie:1.4.0-bin /pie /usr/bin/pie RUN apt-get update \ && apt-get install --assume-yes --no-install-recommends \ @@ -140,6 +142,9 @@ COPY files / FROM runtime AS builder +ARG TARGETARCH +ARG DEBIAN_FRONTEND=noninteractive + # Latest version of Phive: https://api.github.com/repos/phar-io/phive/releases/latest ARG PHIVE_VERSION=0.16.0 # Latest version of Composer: https://getcomposer.org/download @@ -234,6 +239,9 @@ EOF FROM builder AS builder_nodejs ARG TARGETARCH +ARG DEBIAN_FRONTEND=noninteractive + +ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0 SHELL ["/bin/bash", "-o", "pipefail", "-c"] diff --git a/frankenphp/Dockerfile b/frankenphp/Dockerfile index 433d3bd..e9926dc 100644 --- a/frankenphp/Dockerfile +++ b/frankenphp/Dockerfile @@ -4,6 +4,8 @@ # Latest version of FrankenPHP base image: https://hub.docker.com/r/dunglas/frankenphp/tags FROM dunglas/frankenphp:1.12.1-php8.3-trixie AS runtime +ARG DEBIAN_FRONTEND=noninteractive + ARG XDG_CONFIG_HOME=/config ENV XDG_CONFIG_HOME=$XDG_CONFIG_HOME @@ -32,7 +34,7 @@ ENV FRANKENPHP_CONFIG="" WORKDIR /var/www # Latest version of Pie: https://github.com/php/pie/releases -COPY --from=ghcr.io/php/pie:1.3.10-bin /pie /usr/bin/pie +COPY --from=ghcr.io/php/pie:1.4.0-bin /pie /usr/bin/pie RUN apt-get update \ && apt-get install --assume-yes --no-install-recommends \ @@ -144,6 +146,9 @@ COPY files / FROM runtime AS builder +ARG TARGETARCH +ARG DEBIAN_FRONTEND=noninteractive + # Latest version of Phive: https://api.github.com/repos/phar-io/phive/releases/latest ARG PHIVE_VERSION=0.16.0 # Latest version of Composer: https://getcomposer.org/download @@ -237,6 +242,9 @@ EOF FROM builder AS builder_nodejs ARG TARGETARCH +ARG DEBIAN_FRONTEND=noninteractive + +ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0 SHELL ["/bin/bash", "-o", "pipefail", "-c"]