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 749d97c..f3801cc 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.5.4-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 \ @@ -139,6 +141,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 @@ -192,7 +197,6 @@ ARG USER=code ARG GROUP=code ARG USER_UID=1000 ARG USER_GID=1000 -ARG TARGETARCH SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -232,6 +236,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 ba456b7..abf1453 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.5.4-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 \ @@ -139,6 +141,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 @@ -148,7 +153,6 @@ ARG XDEBUG_VERSION=3.5.1 # Latest version of pcov: https://packagist.org/packages/pecl/pcov ARG PCOV_VERSION=1.0.12 - RUN apt-get update \ && apt-get install --assume-yes --no-install-recommends \ # Needed for xdebug extension configuration @@ -193,7 +197,6 @@ ARG USER=code ARG GROUP=code ARG USER_UID=1000 ARG USER_GID=1000 -ARG TARGETARCH SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -233,6 +236,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 a8a31ea..e26290e 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.5.4-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 \ @@ -143,6 +145,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 @@ -196,7 +201,6 @@ ARG USER=code ARG GROUP=code ARG USER_UID=1000 ARG USER_GID=1000 -ARG TARGETARCH SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -236,6 +240,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"]