From 9876a874a8ef22b5eb92a45d19c5a0c8b8f4584d Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 1 May 2024 14:27:52 -0700 Subject: [PATCH 1/7] Update 10.2 to 10.2.6 --- 10.2/php8.2/apache-bookworm/Dockerfile | 4 ++-- 10.2/php8.2/apache-bullseye/Dockerfile | 4 ++-- 10.2/php8.2/fpm-alpine3.18/Dockerfile | 4 ++-- 10.2/php8.2/fpm-alpine3.19/Dockerfile | 4 ++-- 10.2/php8.2/fpm-bookworm/Dockerfile | 4 ++-- 10.2/php8.2/fpm-bullseye/Dockerfile | 4 ++-- 10.2/php8.3/apache-bookworm/Dockerfile | 4 ++-- 10.2/php8.3/apache-bullseye/Dockerfile | 4 ++-- 10.2/php8.3/fpm-alpine3.18/Dockerfile | 4 ++-- 10.2/php8.3/fpm-alpine3.19/Dockerfile | 4 ++-- 10.2/php8.3/fpm-bookworm/Dockerfile | 4 ++-- 10.2/php8.3/fpm-bullseye/Dockerfile | 4 ++-- versions.json | 10 +++++----- 13 files changed, 29 insertions(+), 29 deletions(-) diff --git a/10.2/php8.2/apache-bookworm/Dockerfile b/10.2/php8.2/apache-bookworm/Dockerfile index 733d8001..788e42ad 100644 --- a/10.2/php8.2/apache-bookworm/Dockerfile +++ b/10.2/php8.2/apache-bookworm/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-04-03: https://www.drupal.org/project/drupal/releases/10.2.5 -ENV DRUPAL_VERSION 10.2.5 +# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 +ENV DRUPAL_VERSION 10.2.6 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.2/apache-bullseye/Dockerfile b/10.2/php8.2/apache-bullseye/Dockerfile index 82ef7a98..dae8d24f 100644 --- a/10.2/php8.2/apache-bullseye/Dockerfile +++ b/10.2/php8.2/apache-bullseye/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-04-03: https://www.drupal.org/project/drupal/releases/10.2.5 -ENV DRUPAL_VERSION 10.2.5 +# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 +ENV DRUPAL_VERSION 10.2.6 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.2/fpm-alpine3.18/Dockerfile b/10.2/php8.2/fpm-alpine3.18/Dockerfile index f30a2de5..b75009d5 100644 --- a/10.2/php8.2/fpm-alpine3.18/Dockerfile +++ b/10.2/php8.2/fpm-alpine3.18/Dockerfile @@ -55,8 +55,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-04-03: https://www.drupal.org/project/drupal/releases/10.2.5 -ENV DRUPAL_VERSION 10.2.5 +# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 +ENV DRUPAL_VERSION 10.2.6 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.2/fpm-alpine3.19/Dockerfile b/10.2/php8.2/fpm-alpine3.19/Dockerfile index d746bc60..05e634a4 100644 --- a/10.2/php8.2/fpm-alpine3.19/Dockerfile +++ b/10.2/php8.2/fpm-alpine3.19/Dockerfile @@ -55,8 +55,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-04-03: https://www.drupal.org/project/drupal/releases/10.2.5 -ENV DRUPAL_VERSION 10.2.5 +# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 +ENV DRUPAL_VERSION 10.2.6 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.2/fpm-bookworm/Dockerfile b/10.2/php8.2/fpm-bookworm/Dockerfile index f3157ebd..742ff149 100644 --- a/10.2/php8.2/fpm-bookworm/Dockerfile +++ b/10.2/php8.2/fpm-bookworm/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-04-03: https://www.drupal.org/project/drupal/releases/10.2.5 -ENV DRUPAL_VERSION 10.2.5 +# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 +ENV DRUPAL_VERSION 10.2.6 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.2/fpm-bullseye/Dockerfile b/10.2/php8.2/fpm-bullseye/Dockerfile index 2d8c8914..a3b8643f 100644 --- a/10.2/php8.2/fpm-bullseye/Dockerfile +++ b/10.2/php8.2/fpm-bullseye/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-04-03: https://www.drupal.org/project/drupal/releases/10.2.5 -ENV DRUPAL_VERSION 10.2.5 +# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 +ENV DRUPAL_VERSION 10.2.6 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.3/apache-bookworm/Dockerfile b/10.2/php8.3/apache-bookworm/Dockerfile index 07324050..b52ebd84 100644 --- a/10.2/php8.3/apache-bookworm/Dockerfile +++ b/10.2/php8.3/apache-bookworm/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-04-03: https://www.drupal.org/project/drupal/releases/10.2.5 -ENV DRUPAL_VERSION 10.2.5 +# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 +ENV DRUPAL_VERSION 10.2.6 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.3/apache-bullseye/Dockerfile b/10.2/php8.3/apache-bullseye/Dockerfile index 8fc47a73..53938397 100644 --- a/10.2/php8.3/apache-bullseye/Dockerfile +++ b/10.2/php8.3/apache-bullseye/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-04-03: https://www.drupal.org/project/drupal/releases/10.2.5 -ENV DRUPAL_VERSION 10.2.5 +# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 +ENV DRUPAL_VERSION 10.2.6 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.3/fpm-alpine3.18/Dockerfile b/10.2/php8.3/fpm-alpine3.18/Dockerfile index 6ce99a3e..53c6370a 100644 --- a/10.2/php8.3/fpm-alpine3.18/Dockerfile +++ b/10.2/php8.3/fpm-alpine3.18/Dockerfile @@ -55,8 +55,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-04-03: https://www.drupal.org/project/drupal/releases/10.2.5 -ENV DRUPAL_VERSION 10.2.5 +# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 +ENV DRUPAL_VERSION 10.2.6 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.3/fpm-alpine3.19/Dockerfile b/10.2/php8.3/fpm-alpine3.19/Dockerfile index c7597d8e..299119e7 100644 --- a/10.2/php8.3/fpm-alpine3.19/Dockerfile +++ b/10.2/php8.3/fpm-alpine3.19/Dockerfile @@ -55,8 +55,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-04-03: https://www.drupal.org/project/drupal/releases/10.2.5 -ENV DRUPAL_VERSION 10.2.5 +# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 +ENV DRUPAL_VERSION 10.2.6 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.3/fpm-bookworm/Dockerfile b/10.2/php8.3/fpm-bookworm/Dockerfile index 15db674e..a25bfb9a 100644 --- a/10.2/php8.3/fpm-bookworm/Dockerfile +++ b/10.2/php8.3/fpm-bookworm/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-04-03: https://www.drupal.org/project/drupal/releases/10.2.5 -ENV DRUPAL_VERSION 10.2.5 +# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 +ENV DRUPAL_VERSION 10.2.6 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.3/fpm-bullseye/Dockerfile b/10.2/php8.3/fpm-bullseye/Dockerfile index b24b841d..ed699231 100644 --- a/10.2/php8.3/fpm-bullseye/Dockerfile +++ b/10.2/php8.3/fpm-bullseye/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-04-03: https://www.drupal.org/project/drupal/releases/10.2.5 -ENV DRUPAL_VERSION 10.2.5 +# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 +ENV DRUPAL_VERSION 10.2.6 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/versions.json b/versions.json index 37863ae6..cf8cddde 100644 --- a/versions.json +++ b/versions.json @@ -1,10 +1,10 @@ { "10.2": { - "version": "10.2.5", - "url": "https://ftp.drupal.org/files/projects/drupal-10.2.5.tar.gz", - "md5": "b37ec5755df00f89528881fa9c8cfac5", - "date": 1712130945, - "notes": "https://www.drupal.org/project/drupal/releases/10.2.5", + "version": "10.2.6", + "url": "https://ftp.drupal.org/files/projects/drupal-10.2.6.tar.gz", + "md5": "0826eb03f18db538f181bae4248e38ce", + "date": 1714597701, + "notes": "https://www.drupal.org/project/drupal/releases/10.2.6", "phpVersions": [ "8.3", "8.2" From 75145d9910795ae152745635a5edc62ac35230bc Mon Sep 17 00:00:00 2001 From: Joseph Ferguson Date: Wed, 22 May 2024 16:53:55 -0700 Subject: [PATCH 2/7] Update to alpine 3.20 --- .../{fpm-alpine3.18 => fpm-alpine3.20}/Dockerfile | 2 +- .../{fpm-alpine3.18 => fpm-alpine3.20}/Dockerfile | 2 +- .../{fpm-alpine3.18 => fpm-alpine3.20}/Dockerfile | 2 +- .../{fpm-alpine3.18 => fpm-alpine3.20}/Dockerfile | 2 +- .../{fpm-alpine3.18 => fpm-alpine3.20}/Dockerfile | 2 +- .../{fpm-alpine3.18 => fpm-alpine3.20}/Dockerfile | 2 +- versions.json | 12 ++++++------ versions.sh | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) rename 10.1/php8.1/{fpm-alpine3.18 => fpm-alpine3.20}/Dockerfile (98%) rename 10.1/php8.2/{fpm-alpine3.18 => fpm-alpine3.20}/Dockerfile (98%) rename 10.2/php8.2/{fpm-alpine3.18 => fpm-alpine3.20}/Dockerfile (98%) rename 10.2/php8.3/{fpm-alpine3.18 => fpm-alpine3.20}/Dockerfile (98%) rename 7/php8.1/{fpm-alpine3.18 => fpm-alpine3.20}/Dockerfile (98%) rename 7/php8.2/{fpm-alpine3.18 => fpm-alpine3.20}/Dockerfile (98%) diff --git a/10.1/php8.1/fpm-alpine3.18/Dockerfile b/10.1/php8.1/fpm-alpine3.20/Dockerfile similarity index 98% rename from 10.1/php8.1/fpm-alpine3.18/Dockerfile rename to 10.1/php8.1/fpm-alpine3.20/Dockerfile index 638bb025..a47ff64d 100644 --- a/10.1/php8.1/fpm-alpine3.18/Dockerfile +++ b/10.1/php8.1/fpm-alpine3.20/Dockerfile @@ -5,7 +5,7 @@ # # https://www.drupal.org/docs/system-requirements/php-requirements -FROM php:8.1-fpm-alpine3.18 +FROM php:8.1-fpm-alpine3.20 # install the PHP extensions we need RUN set -eux; \ diff --git a/10.1/php8.2/fpm-alpine3.18/Dockerfile b/10.1/php8.2/fpm-alpine3.20/Dockerfile similarity index 98% rename from 10.1/php8.2/fpm-alpine3.18/Dockerfile rename to 10.1/php8.2/fpm-alpine3.20/Dockerfile index ef98ab86..8b507b57 100644 --- a/10.1/php8.2/fpm-alpine3.18/Dockerfile +++ b/10.1/php8.2/fpm-alpine3.20/Dockerfile @@ -5,7 +5,7 @@ # # https://www.drupal.org/docs/system-requirements/php-requirements -FROM php:8.2-fpm-alpine3.18 +FROM php:8.2-fpm-alpine3.20 # install the PHP extensions we need RUN set -eux; \ diff --git a/10.2/php8.2/fpm-alpine3.18/Dockerfile b/10.2/php8.2/fpm-alpine3.20/Dockerfile similarity index 98% rename from 10.2/php8.2/fpm-alpine3.18/Dockerfile rename to 10.2/php8.2/fpm-alpine3.20/Dockerfile index b75009d5..5670f3b9 100644 --- a/10.2/php8.2/fpm-alpine3.18/Dockerfile +++ b/10.2/php8.2/fpm-alpine3.20/Dockerfile @@ -5,7 +5,7 @@ # # https://www.drupal.org/docs/system-requirements/php-requirements -FROM php:8.2-fpm-alpine3.18 +FROM php:8.2-fpm-alpine3.20 # install the PHP extensions we need RUN set -eux; \ diff --git a/10.2/php8.3/fpm-alpine3.18/Dockerfile b/10.2/php8.3/fpm-alpine3.20/Dockerfile similarity index 98% rename from 10.2/php8.3/fpm-alpine3.18/Dockerfile rename to 10.2/php8.3/fpm-alpine3.20/Dockerfile index 53c6370a..94a6b0a7 100644 --- a/10.2/php8.3/fpm-alpine3.18/Dockerfile +++ b/10.2/php8.3/fpm-alpine3.20/Dockerfile @@ -5,7 +5,7 @@ # # https://www.drupal.org/docs/system-requirements/php-requirements -FROM php:8.3-fpm-alpine3.18 +FROM php:8.3-fpm-alpine3.20 # install the PHP extensions we need RUN set -eux; \ diff --git a/7/php8.1/fpm-alpine3.18/Dockerfile b/7/php8.1/fpm-alpine3.20/Dockerfile similarity index 98% rename from 7/php8.1/fpm-alpine3.18/Dockerfile rename to 7/php8.1/fpm-alpine3.20/Dockerfile index 5d35bb29..03651975 100644 --- a/7/php8.1/fpm-alpine3.18/Dockerfile +++ b/7/php8.1/fpm-alpine3.20/Dockerfile @@ -5,7 +5,7 @@ # # https://www.drupal.org/docs/system-requirements/php-requirements -FROM php:8.1-fpm-alpine3.18 +FROM php:8.1-fpm-alpine3.20 # install the PHP extensions we need RUN set -eux; \ diff --git a/7/php8.2/fpm-alpine3.18/Dockerfile b/7/php8.2/fpm-alpine3.20/Dockerfile similarity index 98% rename from 7/php8.2/fpm-alpine3.18/Dockerfile rename to 7/php8.2/fpm-alpine3.20/Dockerfile index 645c628b..f18a6e50 100644 --- a/7/php8.2/fpm-alpine3.18/Dockerfile +++ b/7/php8.2/fpm-alpine3.20/Dockerfile @@ -5,7 +5,7 @@ # # https://www.drupal.org/docs/system-requirements/php-requirements -FROM php:8.2-fpm-alpine3.18 +FROM php:8.2-fpm-alpine3.20 # install the PHP extensions we need RUN set -eux; \ diff --git a/versions.json b/versions.json index cf8cddde..c22d55a5 100644 --- a/versions.json +++ b/versions.json @@ -14,8 +14,8 @@ "fpm-bookworm", "apache-bullseye", "fpm-bullseye", - "fpm-alpine3.19", - "fpm-alpine3.18" + "fpm-alpine3.20", + "fpm-alpine3.19" ], "composer": { "version": "2" @@ -36,8 +36,8 @@ "fpm-bookworm", "apache-bullseye", "fpm-bullseye", - "fpm-alpine3.19", - "fpm-alpine3.18" + "fpm-alpine3.20", + "fpm-alpine3.19" ], "composer": { "version": "2" @@ -58,8 +58,8 @@ "fpm-bookworm", "apache-bullseye", "fpm-bullseye", - "fpm-alpine3.19", - "fpm-alpine3.18" + "fpm-alpine3.20", + "fpm-alpine3.19" ] } } diff --git a/versions.sh b/versions.sh index d56c9c69..15e3568b 100755 --- a/versions.sh +++ b/versions.sh @@ -127,8 +127,8 @@ for version in "${versions[@]}"; do variants: [ "bookworm", "bullseye", + "alpine3.20", "alpine3.19", - "alpine3.18", empty | if startswith("alpine") then empty else "apache-" + . From 21e8f7baa1bf58761ea68149c8210836bc69b472 Mon Sep 17 00:00:00 2001 From: Joseph Ferguson Date: Wed, 22 May 2024 16:55:49 -0700 Subject: [PATCH 3/7] Add 10.3 and 11.0 pre-releases --- 10.3-rc/php8.2/apache-bookworm/Dockerfile | 91 +++++++++++++++++++++++ 10.3-rc/php8.2/apache-bullseye/Dockerfile | 91 +++++++++++++++++++++++ 10.3-rc/php8.2/fpm-alpine3.19/Dockerfile | 80 ++++++++++++++++++++ 10.3-rc/php8.2/fpm-alpine3.20/Dockerfile | 80 ++++++++++++++++++++ 10.3-rc/php8.2/fpm-bookworm/Dockerfile | 91 +++++++++++++++++++++++ 10.3-rc/php8.2/fpm-bullseye/Dockerfile | 91 +++++++++++++++++++++++ 10.3-rc/php8.3/apache-bookworm/Dockerfile | 91 +++++++++++++++++++++++ 10.3-rc/php8.3/apache-bullseye/Dockerfile | 91 +++++++++++++++++++++++ 10.3-rc/php8.3/fpm-alpine3.19/Dockerfile | 80 ++++++++++++++++++++ 10.3-rc/php8.3/fpm-alpine3.20/Dockerfile | 80 ++++++++++++++++++++ 10.3-rc/php8.3/fpm-bookworm/Dockerfile | 91 +++++++++++++++++++++++ 10.3-rc/php8.3/fpm-bullseye/Dockerfile | 91 +++++++++++++++++++++++ 11.0-rc/php8.2/apache-bookworm/Dockerfile | 91 +++++++++++++++++++++++ 11.0-rc/php8.2/apache-bullseye/Dockerfile | 91 +++++++++++++++++++++++ 11.0-rc/php8.2/fpm-alpine3.19/Dockerfile | 80 ++++++++++++++++++++ 11.0-rc/php8.2/fpm-alpine3.20/Dockerfile | 80 ++++++++++++++++++++ 11.0-rc/php8.2/fpm-bookworm/Dockerfile | 91 +++++++++++++++++++++++ 11.0-rc/php8.2/fpm-bullseye/Dockerfile | 91 +++++++++++++++++++++++ 11.0-rc/php8.3/apache-bookworm/Dockerfile | 91 +++++++++++++++++++++++ 11.0-rc/php8.3/apache-bullseye/Dockerfile | 91 +++++++++++++++++++++++ 11.0-rc/php8.3/fpm-alpine3.19/Dockerfile | 80 ++++++++++++++++++++ 11.0-rc/php8.3/fpm-alpine3.20/Dockerfile | 80 ++++++++++++++++++++ 11.0-rc/php8.3/fpm-bookworm/Dockerfile | 91 +++++++++++++++++++++++ 11.0-rc/php8.3/fpm-bullseye/Dockerfile | 91 +++++++++++++++++++++++ versions.json | 46 ++++++++++++ 25 files changed, 2142 insertions(+) create mode 100644 10.3-rc/php8.2/apache-bookworm/Dockerfile create mode 100644 10.3-rc/php8.2/apache-bullseye/Dockerfile create mode 100644 10.3-rc/php8.2/fpm-alpine3.19/Dockerfile create mode 100644 10.3-rc/php8.2/fpm-alpine3.20/Dockerfile create mode 100644 10.3-rc/php8.2/fpm-bookworm/Dockerfile create mode 100644 10.3-rc/php8.2/fpm-bullseye/Dockerfile create mode 100644 10.3-rc/php8.3/apache-bookworm/Dockerfile create mode 100644 10.3-rc/php8.3/apache-bullseye/Dockerfile create mode 100644 10.3-rc/php8.3/fpm-alpine3.19/Dockerfile create mode 100644 10.3-rc/php8.3/fpm-alpine3.20/Dockerfile create mode 100644 10.3-rc/php8.3/fpm-bookworm/Dockerfile create mode 100644 10.3-rc/php8.3/fpm-bullseye/Dockerfile create mode 100644 11.0-rc/php8.2/apache-bookworm/Dockerfile create mode 100644 11.0-rc/php8.2/apache-bullseye/Dockerfile create mode 100644 11.0-rc/php8.2/fpm-alpine3.19/Dockerfile create mode 100644 11.0-rc/php8.2/fpm-alpine3.20/Dockerfile create mode 100644 11.0-rc/php8.2/fpm-bookworm/Dockerfile create mode 100644 11.0-rc/php8.2/fpm-bullseye/Dockerfile create mode 100644 11.0-rc/php8.3/apache-bookworm/Dockerfile create mode 100644 11.0-rc/php8.3/apache-bullseye/Dockerfile create mode 100644 11.0-rc/php8.3/fpm-alpine3.19/Dockerfile create mode 100644 11.0-rc/php8.3/fpm-alpine3.20/Dockerfile create mode 100644 11.0-rc/php8.3/fpm-bookworm/Dockerfile create mode 100644 11.0-rc/php8.3/fpm-bullseye/Dockerfile diff --git a/10.3-rc/php8.2/apache-bookworm/Dockerfile b/10.3-rc/php8.2/apache-bookworm/Dockerfile new file mode 100644 index 00000000..b13418cc --- /dev/null +++ b/10.3-rc/php8.2/apache-bookworm/Dockerfile @@ -0,0 +1,91 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.2-apache-bookworm + +# install the PHP extensions we need +RUN set -eux; \ + \ + if command -v a2enmod; then \ +# https://github.com/drupal/drupal/blob/d91d8d0a6d3ffe5f0b6dde8c2fbe81404843edc5/.htaccess (references both mod_expires and mod_rewrite explicitly) + a2enmod expires rewrite; \ + fi; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libfreetype6-dev \ + libjpeg-dev \ + libpng-dev \ + libpq-dev \ + libwebp-dev \ + libzip-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ +# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -r dpkg-query -S \ + | cut -d: -f1 \ + | sort -u \ + | xargs -rt apt-mark manual; \ + \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/* + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 +ENV DRUPAL_VERSION 10.3.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/10.3-rc/php8.2/apache-bullseye/Dockerfile b/10.3-rc/php8.2/apache-bullseye/Dockerfile new file mode 100644 index 00000000..44ecea16 --- /dev/null +++ b/10.3-rc/php8.2/apache-bullseye/Dockerfile @@ -0,0 +1,91 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.2-apache-bullseye + +# install the PHP extensions we need +RUN set -eux; \ + \ + if command -v a2enmod; then \ +# https://github.com/drupal/drupal/blob/d91d8d0a6d3ffe5f0b6dde8c2fbe81404843edc5/.htaccess (references both mod_expires and mod_rewrite explicitly) + a2enmod expires rewrite; \ + fi; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libfreetype6-dev \ + libjpeg-dev \ + libpng-dev \ + libpq-dev \ + libwebp-dev \ + libzip-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ +# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -r dpkg-query -S \ + | cut -d: -f1 \ + | sort -u \ + | xargs -rt apt-mark manual; \ + \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/* + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 +ENV DRUPAL_VERSION 10.3.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/10.3-rc/php8.2/fpm-alpine3.19/Dockerfile b/10.3-rc/php8.2/fpm-alpine3.19/Dockerfile new file mode 100644 index 00000000..8ea0880d --- /dev/null +++ b/10.3-rc/php8.2/fpm-alpine3.19/Dockerfile @@ -0,0 +1,80 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.2-fpm-alpine3.19 + +# install the PHP extensions we need +RUN set -eux; \ + \ + apk add --no-cache --virtual .build-deps \ + coreutils \ + freetype-dev \ + libjpeg-turbo-dev \ + libpng-dev \ + libwebp-dev \ + libzip-dev \ +# postgresql-dev is needed for https://bugs.alpinelinux.org/issues/3642 + postgresql-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr/include \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ + runDeps="$( \ + scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \ + | tr ',' '\n' \ + | sort -u \ + | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ + )"; \ + apk add --no-network --virtual .drupal-phpexts-rundeps $runDeps; \ + apk del --no-network .build-deps + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 +ENV DRUPAL_VERSION 10.3.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/10.3-rc/php8.2/fpm-alpine3.20/Dockerfile b/10.3-rc/php8.2/fpm-alpine3.20/Dockerfile new file mode 100644 index 00000000..653a6f50 --- /dev/null +++ b/10.3-rc/php8.2/fpm-alpine3.20/Dockerfile @@ -0,0 +1,80 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.2-fpm-alpine3.20 + +# install the PHP extensions we need +RUN set -eux; \ + \ + apk add --no-cache --virtual .build-deps \ + coreutils \ + freetype-dev \ + libjpeg-turbo-dev \ + libpng-dev \ + libwebp-dev \ + libzip-dev \ +# postgresql-dev is needed for https://bugs.alpinelinux.org/issues/3642 + postgresql-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr/include \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ + runDeps="$( \ + scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \ + | tr ',' '\n' \ + | sort -u \ + | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ + )"; \ + apk add --no-network --virtual .drupal-phpexts-rundeps $runDeps; \ + apk del --no-network .build-deps + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 +ENV DRUPAL_VERSION 10.3.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/10.3-rc/php8.2/fpm-bookworm/Dockerfile b/10.3-rc/php8.2/fpm-bookworm/Dockerfile new file mode 100644 index 00000000..6ecb6227 --- /dev/null +++ b/10.3-rc/php8.2/fpm-bookworm/Dockerfile @@ -0,0 +1,91 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.2-fpm-bookworm + +# install the PHP extensions we need +RUN set -eux; \ + \ + if command -v a2enmod; then \ +# https://github.com/drupal/drupal/blob/d91d8d0a6d3ffe5f0b6dde8c2fbe81404843edc5/.htaccess (references both mod_expires and mod_rewrite explicitly) + a2enmod expires rewrite; \ + fi; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libfreetype6-dev \ + libjpeg-dev \ + libpng-dev \ + libpq-dev \ + libwebp-dev \ + libzip-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ +# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -r dpkg-query -S \ + | cut -d: -f1 \ + | sort -u \ + | xargs -rt apt-mark manual; \ + \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/* + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 +ENV DRUPAL_VERSION 10.3.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/10.3-rc/php8.2/fpm-bullseye/Dockerfile b/10.3-rc/php8.2/fpm-bullseye/Dockerfile new file mode 100644 index 00000000..4d822c6b --- /dev/null +++ b/10.3-rc/php8.2/fpm-bullseye/Dockerfile @@ -0,0 +1,91 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.2-fpm-bullseye + +# install the PHP extensions we need +RUN set -eux; \ + \ + if command -v a2enmod; then \ +# https://github.com/drupal/drupal/blob/d91d8d0a6d3ffe5f0b6dde8c2fbe81404843edc5/.htaccess (references both mod_expires and mod_rewrite explicitly) + a2enmod expires rewrite; \ + fi; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libfreetype6-dev \ + libjpeg-dev \ + libpng-dev \ + libpq-dev \ + libwebp-dev \ + libzip-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ +# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -r dpkg-query -S \ + | cut -d: -f1 \ + | sort -u \ + | xargs -rt apt-mark manual; \ + \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/* + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 +ENV DRUPAL_VERSION 10.3.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/10.3-rc/php8.3/apache-bookworm/Dockerfile b/10.3-rc/php8.3/apache-bookworm/Dockerfile new file mode 100644 index 00000000..9a17cc66 --- /dev/null +++ b/10.3-rc/php8.3/apache-bookworm/Dockerfile @@ -0,0 +1,91 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.3-apache-bookworm + +# install the PHP extensions we need +RUN set -eux; \ + \ + if command -v a2enmod; then \ +# https://github.com/drupal/drupal/blob/d91d8d0a6d3ffe5f0b6dde8c2fbe81404843edc5/.htaccess (references both mod_expires and mod_rewrite explicitly) + a2enmod expires rewrite; \ + fi; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libfreetype6-dev \ + libjpeg-dev \ + libpng-dev \ + libpq-dev \ + libwebp-dev \ + libzip-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ +# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -r dpkg-query -S \ + | cut -d: -f1 \ + | sort -u \ + | xargs -rt apt-mark manual; \ + \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/* + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 +ENV DRUPAL_VERSION 10.3.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/10.3-rc/php8.3/apache-bullseye/Dockerfile b/10.3-rc/php8.3/apache-bullseye/Dockerfile new file mode 100644 index 00000000..b31739ff --- /dev/null +++ b/10.3-rc/php8.3/apache-bullseye/Dockerfile @@ -0,0 +1,91 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.3-apache-bullseye + +# install the PHP extensions we need +RUN set -eux; \ + \ + if command -v a2enmod; then \ +# https://github.com/drupal/drupal/blob/d91d8d0a6d3ffe5f0b6dde8c2fbe81404843edc5/.htaccess (references both mod_expires and mod_rewrite explicitly) + a2enmod expires rewrite; \ + fi; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libfreetype6-dev \ + libjpeg-dev \ + libpng-dev \ + libpq-dev \ + libwebp-dev \ + libzip-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ +# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -r dpkg-query -S \ + | cut -d: -f1 \ + | sort -u \ + | xargs -rt apt-mark manual; \ + \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/* + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 +ENV DRUPAL_VERSION 10.3.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/10.3-rc/php8.3/fpm-alpine3.19/Dockerfile b/10.3-rc/php8.3/fpm-alpine3.19/Dockerfile new file mode 100644 index 00000000..f7daa224 --- /dev/null +++ b/10.3-rc/php8.3/fpm-alpine3.19/Dockerfile @@ -0,0 +1,80 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.3-fpm-alpine3.19 + +# install the PHP extensions we need +RUN set -eux; \ + \ + apk add --no-cache --virtual .build-deps \ + coreutils \ + freetype-dev \ + libjpeg-turbo-dev \ + libpng-dev \ + libwebp-dev \ + libzip-dev \ +# postgresql-dev is needed for https://bugs.alpinelinux.org/issues/3642 + postgresql-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr/include \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ + runDeps="$( \ + scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \ + | tr ',' '\n' \ + | sort -u \ + | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ + )"; \ + apk add --no-network --virtual .drupal-phpexts-rundeps $runDeps; \ + apk del --no-network .build-deps + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 +ENV DRUPAL_VERSION 10.3.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/10.3-rc/php8.3/fpm-alpine3.20/Dockerfile b/10.3-rc/php8.3/fpm-alpine3.20/Dockerfile new file mode 100644 index 00000000..de8a7916 --- /dev/null +++ b/10.3-rc/php8.3/fpm-alpine3.20/Dockerfile @@ -0,0 +1,80 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.3-fpm-alpine3.20 + +# install the PHP extensions we need +RUN set -eux; \ + \ + apk add --no-cache --virtual .build-deps \ + coreutils \ + freetype-dev \ + libjpeg-turbo-dev \ + libpng-dev \ + libwebp-dev \ + libzip-dev \ +# postgresql-dev is needed for https://bugs.alpinelinux.org/issues/3642 + postgresql-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr/include \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ + runDeps="$( \ + scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \ + | tr ',' '\n' \ + | sort -u \ + | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ + )"; \ + apk add --no-network --virtual .drupal-phpexts-rundeps $runDeps; \ + apk del --no-network .build-deps + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 +ENV DRUPAL_VERSION 10.3.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/10.3-rc/php8.3/fpm-bookworm/Dockerfile b/10.3-rc/php8.3/fpm-bookworm/Dockerfile new file mode 100644 index 00000000..492b51f9 --- /dev/null +++ b/10.3-rc/php8.3/fpm-bookworm/Dockerfile @@ -0,0 +1,91 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.3-fpm-bookworm + +# install the PHP extensions we need +RUN set -eux; \ + \ + if command -v a2enmod; then \ +# https://github.com/drupal/drupal/blob/d91d8d0a6d3ffe5f0b6dde8c2fbe81404843edc5/.htaccess (references both mod_expires and mod_rewrite explicitly) + a2enmod expires rewrite; \ + fi; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libfreetype6-dev \ + libjpeg-dev \ + libpng-dev \ + libpq-dev \ + libwebp-dev \ + libzip-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ +# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -r dpkg-query -S \ + | cut -d: -f1 \ + | sort -u \ + | xargs -rt apt-mark manual; \ + \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/* + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 +ENV DRUPAL_VERSION 10.3.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/10.3-rc/php8.3/fpm-bullseye/Dockerfile b/10.3-rc/php8.3/fpm-bullseye/Dockerfile new file mode 100644 index 00000000..4d3859fa --- /dev/null +++ b/10.3-rc/php8.3/fpm-bullseye/Dockerfile @@ -0,0 +1,91 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.3-fpm-bullseye + +# install the PHP extensions we need +RUN set -eux; \ + \ + if command -v a2enmod; then \ +# https://github.com/drupal/drupal/blob/d91d8d0a6d3ffe5f0b6dde8c2fbe81404843edc5/.htaccess (references both mod_expires and mod_rewrite explicitly) + a2enmod expires rewrite; \ + fi; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libfreetype6-dev \ + libjpeg-dev \ + libpng-dev \ + libpq-dev \ + libwebp-dev \ + libzip-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ +# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -r dpkg-query -S \ + | cut -d: -f1 \ + | sort -u \ + | xargs -rt apt-mark manual; \ + \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/* + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 +ENV DRUPAL_VERSION 10.3.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/11.0-rc/php8.2/apache-bookworm/Dockerfile b/11.0-rc/php8.2/apache-bookworm/Dockerfile new file mode 100644 index 00000000..3f4f49d4 --- /dev/null +++ b/11.0-rc/php8.2/apache-bookworm/Dockerfile @@ -0,0 +1,91 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.2-apache-bookworm + +# install the PHP extensions we need +RUN set -eux; \ + \ + if command -v a2enmod; then \ +# https://github.com/drupal/drupal/blob/d91d8d0a6d3ffe5f0b6dde8c2fbe81404843edc5/.htaccess (references both mod_expires and mod_rewrite explicitly) + a2enmod expires rewrite; \ + fi; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libfreetype6-dev \ + libjpeg-dev \ + libpng-dev \ + libpq-dev \ + libwebp-dev \ + libzip-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ +# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -r dpkg-query -S \ + | cut -d: -f1 \ + | sort -u \ + | xargs -rt apt-mark manual; \ + \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/* + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/11.0.0-beta1 +ENV DRUPAL_VERSION 11.0.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/11.0-rc/php8.2/apache-bullseye/Dockerfile b/11.0-rc/php8.2/apache-bullseye/Dockerfile new file mode 100644 index 00000000..8b5a9d2d --- /dev/null +++ b/11.0-rc/php8.2/apache-bullseye/Dockerfile @@ -0,0 +1,91 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.2-apache-bullseye + +# install the PHP extensions we need +RUN set -eux; \ + \ + if command -v a2enmod; then \ +# https://github.com/drupal/drupal/blob/d91d8d0a6d3ffe5f0b6dde8c2fbe81404843edc5/.htaccess (references both mod_expires and mod_rewrite explicitly) + a2enmod expires rewrite; \ + fi; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libfreetype6-dev \ + libjpeg-dev \ + libpng-dev \ + libpq-dev \ + libwebp-dev \ + libzip-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ +# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -r dpkg-query -S \ + | cut -d: -f1 \ + | sort -u \ + | xargs -rt apt-mark manual; \ + \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/* + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/11.0.0-beta1 +ENV DRUPAL_VERSION 11.0.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/11.0-rc/php8.2/fpm-alpine3.19/Dockerfile b/11.0-rc/php8.2/fpm-alpine3.19/Dockerfile new file mode 100644 index 00000000..9d38affb --- /dev/null +++ b/11.0-rc/php8.2/fpm-alpine3.19/Dockerfile @@ -0,0 +1,80 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.2-fpm-alpine3.19 + +# install the PHP extensions we need +RUN set -eux; \ + \ + apk add --no-cache --virtual .build-deps \ + coreutils \ + freetype-dev \ + libjpeg-turbo-dev \ + libpng-dev \ + libwebp-dev \ + libzip-dev \ +# postgresql-dev is needed for https://bugs.alpinelinux.org/issues/3642 + postgresql-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr/include \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ + runDeps="$( \ + scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \ + | tr ',' '\n' \ + | sort -u \ + | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ + )"; \ + apk add --no-network --virtual .drupal-phpexts-rundeps $runDeps; \ + apk del --no-network .build-deps + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/11.0.0-beta1 +ENV DRUPAL_VERSION 11.0.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/11.0-rc/php8.2/fpm-alpine3.20/Dockerfile b/11.0-rc/php8.2/fpm-alpine3.20/Dockerfile new file mode 100644 index 00000000..46a2b157 --- /dev/null +++ b/11.0-rc/php8.2/fpm-alpine3.20/Dockerfile @@ -0,0 +1,80 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.2-fpm-alpine3.20 + +# install the PHP extensions we need +RUN set -eux; \ + \ + apk add --no-cache --virtual .build-deps \ + coreutils \ + freetype-dev \ + libjpeg-turbo-dev \ + libpng-dev \ + libwebp-dev \ + libzip-dev \ +# postgresql-dev is needed for https://bugs.alpinelinux.org/issues/3642 + postgresql-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr/include \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ + runDeps="$( \ + scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \ + | tr ',' '\n' \ + | sort -u \ + | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ + )"; \ + apk add --no-network --virtual .drupal-phpexts-rundeps $runDeps; \ + apk del --no-network .build-deps + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/11.0.0-beta1 +ENV DRUPAL_VERSION 11.0.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/11.0-rc/php8.2/fpm-bookworm/Dockerfile b/11.0-rc/php8.2/fpm-bookworm/Dockerfile new file mode 100644 index 00000000..8c4e5749 --- /dev/null +++ b/11.0-rc/php8.2/fpm-bookworm/Dockerfile @@ -0,0 +1,91 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.2-fpm-bookworm + +# install the PHP extensions we need +RUN set -eux; \ + \ + if command -v a2enmod; then \ +# https://github.com/drupal/drupal/blob/d91d8d0a6d3ffe5f0b6dde8c2fbe81404843edc5/.htaccess (references both mod_expires and mod_rewrite explicitly) + a2enmod expires rewrite; \ + fi; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libfreetype6-dev \ + libjpeg-dev \ + libpng-dev \ + libpq-dev \ + libwebp-dev \ + libzip-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ +# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -r dpkg-query -S \ + | cut -d: -f1 \ + | sort -u \ + | xargs -rt apt-mark manual; \ + \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/* + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/11.0.0-beta1 +ENV DRUPAL_VERSION 11.0.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/11.0-rc/php8.2/fpm-bullseye/Dockerfile b/11.0-rc/php8.2/fpm-bullseye/Dockerfile new file mode 100644 index 00000000..e887fc83 --- /dev/null +++ b/11.0-rc/php8.2/fpm-bullseye/Dockerfile @@ -0,0 +1,91 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.2-fpm-bullseye + +# install the PHP extensions we need +RUN set -eux; \ + \ + if command -v a2enmod; then \ +# https://github.com/drupal/drupal/blob/d91d8d0a6d3ffe5f0b6dde8c2fbe81404843edc5/.htaccess (references both mod_expires and mod_rewrite explicitly) + a2enmod expires rewrite; \ + fi; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libfreetype6-dev \ + libjpeg-dev \ + libpng-dev \ + libpq-dev \ + libwebp-dev \ + libzip-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ +# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -r dpkg-query -S \ + | cut -d: -f1 \ + | sort -u \ + | xargs -rt apt-mark manual; \ + \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/* + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/11.0.0-beta1 +ENV DRUPAL_VERSION 11.0.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/11.0-rc/php8.3/apache-bookworm/Dockerfile b/11.0-rc/php8.3/apache-bookworm/Dockerfile new file mode 100644 index 00000000..804f8e7e --- /dev/null +++ b/11.0-rc/php8.3/apache-bookworm/Dockerfile @@ -0,0 +1,91 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.3-apache-bookworm + +# install the PHP extensions we need +RUN set -eux; \ + \ + if command -v a2enmod; then \ +# https://github.com/drupal/drupal/blob/d91d8d0a6d3ffe5f0b6dde8c2fbe81404843edc5/.htaccess (references both mod_expires and mod_rewrite explicitly) + a2enmod expires rewrite; \ + fi; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libfreetype6-dev \ + libjpeg-dev \ + libpng-dev \ + libpq-dev \ + libwebp-dev \ + libzip-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ +# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -r dpkg-query -S \ + | cut -d: -f1 \ + | sort -u \ + | xargs -rt apt-mark manual; \ + \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/* + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/11.0.0-beta1 +ENV DRUPAL_VERSION 11.0.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/11.0-rc/php8.3/apache-bullseye/Dockerfile b/11.0-rc/php8.3/apache-bullseye/Dockerfile new file mode 100644 index 00000000..9df297c1 --- /dev/null +++ b/11.0-rc/php8.3/apache-bullseye/Dockerfile @@ -0,0 +1,91 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.3-apache-bullseye + +# install the PHP extensions we need +RUN set -eux; \ + \ + if command -v a2enmod; then \ +# https://github.com/drupal/drupal/blob/d91d8d0a6d3ffe5f0b6dde8c2fbe81404843edc5/.htaccess (references both mod_expires and mod_rewrite explicitly) + a2enmod expires rewrite; \ + fi; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libfreetype6-dev \ + libjpeg-dev \ + libpng-dev \ + libpq-dev \ + libwebp-dev \ + libzip-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ +# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -r dpkg-query -S \ + | cut -d: -f1 \ + | sort -u \ + | xargs -rt apt-mark manual; \ + \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/* + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/11.0.0-beta1 +ENV DRUPAL_VERSION 11.0.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/11.0-rc/php8.3/fpm-alpine3.19/Dockerfile b/11.0-rc/php8.3/fpm-alpine3.19/Dockerfile new file mode 100644 index 00000000..e3f6d034 --- /dev/null +++ b/11.0-rc/php8.3/fpm-alpine3.19/Dockerfile @@ -0,0 +1,80 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.3-fpm-alpine3.19 + +# install the PHP extensions we need +RUN set -eux; \ + \ + apk add --no-cache --virtual .build-deps \ + coreutils \ + freetype-dev \ + libjpeg-turbo-dev \ + libpng-dev \ + libwebp-dev \ + libzip-dev \ +# postgresql-dev is needed for https://bugs.alpinelinux.org/issues/3642 + postgresql-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr/include \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ + runDeps="$( \ + scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \ + | tr ',' '\n' \ + | sort -u \ + | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ + )"; \ + apk add --no-network --virtual .drupal-phpexts-rundeps $runDeps; \ + apk del --no-network .build-deps + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/11.0.0-beta1 +ENV DRUPAL_VERSION 11.0.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/11.0-rc/php8.3/fpm-alpine3.20/Dockerfile b/11.0-rc/php8.3/fpm-alpine3.20/Dockerfile new file mode 100644 index 00000000..3929497e --- /dev/null +++ b/11.0-rc/php8.3/fpm-alpine3.20/Dockerfile @@ -0,0 +1,80 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.3-fpm-alpine3.20 + +# install the PHP extensions we need +RUN set -eux; \ + \ + apk add --no-cache --virtual .build-deps \ + coreutils \ + freetype-dev \ + libjpeg-turbo-dev \ + libpng-dev \ + libwebp-dev \ + libzip-dev \ +# postgresql-dev is needed for https://bugs.alpinelinux.org/issues/3642 + postgresql-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr/include \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ + runDeps="$( \ + scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \ + | tr ',' '\n' \ + | sort -u \ + | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ + )"; \ + apk add --no-network --virtual .drupal-phpexts-rundeps $runDeps; \ + apk del --no-network .build-deps + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/11.0.0-beta1 +ENV DRUPAL_VERSION 11.0.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/11.0-rc/php8.3/fpm-bookworm/Dockerfile b/11.0-rc/php8.3/fpm-bookworm/Dockerfile new file mode 100644 index 00000000..5a157adc --- /dev/null +++ b/11.0-rc/php8.3/fpm-bookworm/Dockerfile @@ -0,0 +1,91 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.3-fpm-bookworm + +# install the PHP extensions we need +RUN set -eux; \ + \ + if command -v a2enmod; then \ +# https://github.com/drupal/drupal/blob/d91d8d0a6d3ffe5f0b6dde8c2fbe81404843edc5/.htaccess (references both mod_expires and mod_rewrite explicitly) + a2enmod expires rewrite; \ + fi; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libfreetype6-dev \ + libjpeg-dev \ + libpng-dev \ + libpq-dev \ + libwebp-dev \ + libzip-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ +# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -r dpkg-query -S \ + | cut -d: -f1 \ + | sort -u \ + | xargs -rt apt-mark manual; \ + \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/* + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/11.0.0-beta1 +ENV DRUPAL_VERSION 11.0.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/11.0-rc/php8.3/fpm-bullseye/Dockerfile b/11.0-rc/php8.3/fpm-bullseye/Dockerfile new file mode 100644 index 00000000..94237776 --- /dev/null +++ b/11.0-rc/php8.3/fpm-bullseye/Dockerfile @@ -0,0 +1,91 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +# https://www.drupal.org/docs/system-requirements/php-requirements +FROM php:8.3-fpm-bullseye + +# install the PHP extensions we need +RUN set -eux; \ + \ + if command -v a2enmod; then \ +# https://github.com/drupal/drupal/blob/d91d8d0a6d3ffe5f0b6dde8c2fbe81404843edc5/.htaccess (references both mod_expires and mod_rewrite explicitly) + a2enmod expires rewrite; \ + fi; \ + \ + savedAptMark="$(apt-mark showmanual)"; \ + \ + apt-get update; \ + apt-get install -y --no-install-recommends \ + libfreetype6-dev \ + libjpeg-dev \ + libpng-dev \ + libpq-dev \ + libwebp-dev \ + libzip-dev \ + ; \ + \ + docker-php-ext-configure gd \ + --with-freetype \ + --with-jpeg=/usr \ + --with-webp \ + ; \ + \ + docker-php-ext-install -j "$(nproc)" \ + gd \ + opcache \ + pdo_mysql \ + pdo_pgsql \ + zip \ + ; \ + \ +# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies + apt-mark auto '.*' > /dev/null; \ + apt-mark manual $savedAptMark; \ + ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \ + | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' \ + | sort -u \ + | xargs -r dpkg-query -S \ + | cut -d: -f1 \ + | sort -u \ + | xargs -rt apt-mark manual; \ + \ + apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \ + rm -rf /var/lib/apt/lists/* + +# set recommended PHP.ini settings +# see https://secure.php.net/manual/en/opcache.installation.php +RUN { \ + echo 'opcache.memory_consumption=128'; \ + echo 'opcache.interned_strings_buffer=8'; \ + echo 'opcache.max_accelerated_files=4000'; \ + echo 'opcache.revalidate_freq=60'; \ + } > /usr/local/etc/php/conf.d/opcache-recommended.ini + +COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ + +# 2024-05-17: https://www.drupal.org/project/drupal/releases/11.0.0-beta1 +ENV DRUPAL_VERSION 11.0.0-beta1 + +# https://github.com/docker-library/drupal/pull/259 +# https://github.com/moby/buildkit/issues/4503 +# https://github.com/composer/composer/issues/11839 +# https://github.com/composer/composer/issues/11854 +# https://github.com/composer/composer/blob/94fe2945456df51e122a492b8d14ac4b54c1d2ce/src/Composer/Console/Application.php#L217-L218 +ENV COMPOSER_ALLOW_SUPERUSER 1 + +WORKDIR /opt/drupal +RUN set -eux; \ + export COMPOSER_HOME="$(mktemp -d)"; \ + composer create-project --no-interaction "drupal/recommended-project:$DRUPAL_VERSION" ./; \ + chown -R www-data:www-data web/sites web/modules web/themes; \ + rmdir /var/www/html; \ + ln -sf /opt/drupal/web /var/www/html; \ + # delete composer cache + rm -rf "$COMPOSER_HOME" + +ENV PATH=${PATH}:/opt/drupal/vendor/bin + +# vim:set ft=dockerfile: diff --git a/versions.json b/versions.json index c22d55a5..811d88bb 100644 --- a/versions.json +++ b/versions.json @@ -1,4 +1,50 @@ { + "11.0-rc": { + "version": "11.0.0-beta1", + "url": "https://ftp.drupal.org/files/projects/drupal-11.0.0-beta1.tar.gz", + "md5": "ad403fb5d06c9b8173e1a71e96a159db", + "date": 1715953266, + "notes": "https://www.drupal.org/project/drupal/releases/11.0.0-beta1", + "phpVersions": [ + "8.3", + "8.2" + ], + "variants": [ + "apache-bookworm", + "fpm-bookworm", + "apache-bullseye", + "fpm-bullseye", + "fpm-alpine3.20", + "fpm-alpine3.19" + ], + "composer": { + "version": "2" + } + }, + "11.0": null, + "10.3-rc": { + "version": "10.3.0-beta1", + "url": "https://ftp.drupal.org/files/projects/drupal-10.3.0-beta1.tar.gz", + "md5": "84fad52fe56af8c61f6857eb526c3357", + "date": 1715953149, + "notes": "https://www.drupal.org/project/drupal/releases/10.3.0-beta1", + "phpVersions": [ + "8.3", + "8.2" + ], + "variants": [ + "apache-bookworm", + "fpm-bookworm", + "apache-bullseye", + "fpm-bullseye", + "fpm-alpine3.20", + "fpm-alpine3.19" + ], + "composer": { + "version": "2" + } + }, + "10.3": null, "10.2": { "version": "10.2.6", "url": "https://ftp.drupal.org/files/projects/drupal-10.2.6.tar.gz", From bbcaf7d512f79bec6f48e17671366bbc20f87d78 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Tue, 28 May 2024 15:57:25 -0700 Subject: [PATCH 4/7] Move "rc" alias to 11 pre-releases (instead of 10.3) --- generate-stackbrew-library.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh index 30ad3c9d..e4432b6d 100755 --- a/generate-stackbrew-library.sh +++ b/generate-stackbrew-library.sh @@ -3,7 +3,7 @@ set -Eeuo pipefail declare -A aliases=( [10.2]='10 latest' - [10.3-rc]='rc' + [11.0-rc]='rc' ) defaultDebianSuite='bookworm' From fb76ea207b9ab6a7825182b111c4f280acb4595b Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 5 Jun 2024 14:45:07 -0700 Subject: [PATCH 5/7] Update 10.3-rc to 10.3.0-rc1 --- 10.3-rc/php8.2/apache-bookworm/Dockerfile | 4 ++-- 10.3-rc/php8.2/apache-bullseye/Dockerfile | 4 ++-- 10.3-rc/php8.2/fpm-alpine3.19/Dockerfile | 4 ++-- 10.3-rc/php8.2/fpm-alpine3.20/Dockerfile | 4 ++-- 10.3-rc/php8.2/fpm-bookworm/Dockerfile | 4 ++-- 10.3-rc/php8.2/fpm-bullseye/Dockerfile | 4 ++-- 10.3-rc/php8.3/apache-bookworm/Dockerfile | 4 ++-- 10.3-rc/php8.3/apache-bullseye/Dockerfile | 4 ++-- 10.3-rc/php8.3/fpm-alpine3.19/Dockerfile | 4 ++-- 10.3-rc/php8.3/fpm-alpine3.20/Dockerfile | 4 ++-- 10.3-rc/php8.3/fpm-bookworm/Dockerfile | 4 ++-- 10.3-rc/php8.3/fpm-bullseye/Dockerfile | 4 ++-- versions.json | 10 +++++----- 13 files changed, 29 insertions(+), 29 deletions(-) diff --git a/10.3-rc/php8.2/apache-bookworm/Dockerfile b/10.3-rc/php8.2/apache-bookworm/Dockerfile index b13418cc..4d19b05c 100644 --- a/10.3-rc/php8.2/apache-bookworm/Dockerfile +++ b/10.3-rc/php8.2/apache-bookworm/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 -ENV DRUPAL_VERSION 10.3.0-beta1 +# 2024-06-05: https://www.drupal.org/project/drupal/releases/10.3.0-rc1 +ENV DRUPAL_VERSION 10.3.0-rc1 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.3-rc/php8.2/apache-bullseye/Dockerfile b/10.3-rc/php8.2/apache-bullseye/Dockerfile index 44ecea16..791ff077 100644 --- a/10.3-rc/php8.2/apache-bullseye/Dockerfile +++ b/10.3-rc/php8.2/apache-bullseye/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 -ENV DRUPAL_VERSION 10.3.0-beta1 +# 2024-06-05: https://www.drupal.org/project/drupal/releases/10.3.0-rc1 +ENV DRUPAL_VERSION 10.3.0-rc1 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.3-rc/php8.2/fpm-alpine3.19/Dockerfile b/10.3-rc/php8.2/fpm-alpine3.19/Dockerfile index 8ea0880d..ac1d1e3b 100644 --- a/10.3-rc/php8.2/fpm-alpine3.19/Dockerfile +++ b/10.3-rc/php8.2/fpm-alpine3.19/Dockerfile @@ -55,8 +55,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 -ENV DRUPAL_VERSION 10.3.0-beta1 +# 2024-06-05: https://www.drupal.org/project/drupal/releases/10.3.0-rc1 +ENV DRUPAL_VERSION 10.3.0-rc1 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.3-rc/php8.2/fpm-alpine3.20/Dockerfile b/10.3-rc/php8.2/fpm-alpine3.20/Dockerfile index 653a6f50..1a29682a 100644 --- a/10.3-rc/php8.2/fpm-alpine3.20/Dockerfile +++ b/10.3-rc/php8.2/fpm-alpine3.20/Dockerfile @@ -55,8 +55,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 -ENV DRUPAL_VERSION 10.3.0-beta1 +# 2024-06-05: https://www.drupal.org/project/drupal/releases/10.3.0-rc1 +ENV DRUPAL_VERSION 10.3.0-rc1 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.3-rc/php8.2/fpm-bookworm/Dockerfile b/10.3-rc/php8.2/fpm-bookworm/Dockerfile index 6ecb6227..08587b37 100644 --- a/10.3-rc/php8.2/fpm-bookworm/Dockerfile +++ b/10.3-rc/php8.2/fpm-bookworm/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 -ENV DRUPAL_VERSION 10.3.0-beta1 +# 2024-06-05: https://www.drupal.org/project/drupal/releases/10.3.0-rc1 +ENV DRUPAL_VERSION 10.3.0-rc1 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.3-rc/php8.2/fpm-bullseye/Dockerfile b/10.3-rc/php8.2/fpm-bullseye/Dockerfile index 4d822c6b..c4ab0430 100644 --- a/10.3-rc/php8.2/fpm-bullseye/Dockerfile +++ b/10.3-rc/php8.2/fpm-bullseye/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 -ENV DRUPAL_VERSION 10.3.0-beta1 +# 2024-06-05: https://www.drupal.org/project/drupal/releases/10.3.0-rc1 +ENV DRUPAL_VERSION 10.3.0-rc1 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.3-rc/php8.3/apache-bookworm/Dockerfile b/10.3-rc/php8.3/apache-bookworm/Dockerfile index 9a17cc66..83b4df5c 100644 --- a/10.3-rc/php8.3/apache-bookworm/Dockerfile +++ b/10.3-rc/php8.3/apache-bookworm/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 -ENV DRUPAL_VERSION 10.3.0-beta1 +# 2024-06-05: https://www.drupal.org/project/drupal/releases/10.3.0-rc1 +ENV DRUPAL_VERSION 10.3.0-rc1 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.3-rc/php8.3/apache-bullseye/Dockerfile b/10.3-rc/php8.3/apache-bullseye/Dockerfile index b31739ff..ff6b0b9d 100644 --- a/10.3-rc/php8.3/apache-bullseye/Dockerfile +++ b/10.3-rc/php8.3/apache-bullseye/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 -ENV DRUPAL_VERSION 10.3.0-beta1 +# 2024-06-05: https://www.drupal.org/project/drupal/releases/10.3.0-rc1 +ENV DRUPAL_VERSION 10.3.0-rc1 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.3-rc/php8.3/fpm-alpine3.19/Dockerfile b/10.3-rc/php8.3/fpm-alpine3.19/Dockerfile index f7daa224..f0c9b494 100644 --- a/10.3-rc/php8.3/fpm-alpine3.19/Dockerfile +++ b/10.3-rc/php8.3/fpm-alpine3.19/Dockerfile @@ -55,8 +55,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 -ENV DRUPAL_VERSION 10.3.0-beta1 +# 2024-06-05: https://www.drupal.org/project/drupal/releases/10.3.0-rc1 +ENV DRUPAL_VERSION 10.3.0-rc1 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.3-rc/php8.3/fpm-alpine3.20/Dockerfile b/10.3-rc/php8.3/fpm-alpine3.20/Dockerfile index de8a7916..76a33b67 100644 --- a/10.3-rc/php8.3/fpm-alpine3.20/Dockerfile +++ b/10.3-rc/php8.3/fpm-alpine3.20/Dockerfile @@ -55,8 +55,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 -ENV DRUPAL_VERSION 10.3.0-beta1 +# 2024-06-05: https://www.drupal.org/project/drupal/releases/10.3.0-rc1 +ENV DRUPAL_VERSION 10.3.0-rc1 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.3-rc/php8.3/fpm-bookworm/Dockerfile b/10.3-rc/php8.3/fpm-bookworm/Dockerfile index 492b51f9..f1d613b0 100644 --- a/10.3-rc/php8.3/fpm-bookworm/Dockerfile +++ b/10.3-rc/php8.3/fpm-bookworm/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 -ENV DRUPAL_VERSION 10.3.0-beta1 +# 2024-06-05: https://www.drupal.org/project/drupal/releases/10.3.0-rc1 +ENV DRUPAL_VERSION 10.3.0-rc1 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.3-rc/php8.3/fpm-bullseye/Dockerfile b/10.3-rc/php8.3/fpm-bullseye/Dockerfile index 4d3859fa..045f7f57 100644 --- a/10.3-rc/php8.3/fpm-bullseye/Dockerfile +++ b/10.3-rc/php8.3/fpm-bullseye/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-17: https://www.drupal.org/project/drupal/releases/10.3.0-beta1 -ENV DRUPAL_VERSION 10.3.0-beta1 +# 2024-06-05: https://www.drupal.org/project/drupal/releases/10.3.0-rc1 +ENV DRUPAL_VERSION 10.3.0-rc1 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/versions.json b/versions.json index 811d88bb..ae1823cf 100644 --- a/versions.json +++ b/versions.json @@ -23,11 +23,11 @@ }, "11.0": null, "10.3-rc": { - "version": "10.3.0-beta1", - "url": "https://ftp.drupal.org/files/projects/drupal-10.3.0-beta1.tar.gz", - "md5": "84fad52fe56af8c61f6857eb526c3357", - "date": 1715953149, - "notes": "https://www.drupal.org/project/drupal/releases/10.3.0-beta1", + "version": "10.3.0-rc1", + "url": "https://ftp.drupal.org/files/projects/drupal-10.3.0-rc1.tar.gz", + "md5": "adc503e3b8abcccd2878b867f8575d44", + "date": 1717621189, + "notes": "https://www.drupal.org/project/drupal/releases/10.3.0-rc1", "phpVersions": [ "8.3", "8.2" From 8153f36c33b6aa645bbfc816bae8645cf210abee Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Wed, 5 Jun 2024 15:17:43 -0700 Subject: [PATCH 6/7] Update 7 to 7.101 --- 7/php8.1/apache-bookworm/Dockerfile | 8 ++++---- 7/php8.1/apache-bullseye/Dockerfile | 8 ++++---- 7/php8.1/fpm-alpine3.19/Dockerfile | 8 ++++---- 7/php8.1/fpm-alpine3.20/Dockerfile | 8 ++++---- 7/php8.1/fpm-bookworm/Dockerfile | 8 ++++---- 7/php8.1/fpm-bullseye/Dockerfile | 8 ++++---- 7/php8.2/apache-bookworm/Dockerfile | 8 ++++---- 7/php8.2/apache-bullseye/Dockerfile | 8 ++++---- 7/php8.2/fpm-alpine3.19/Dockerfile | 8 ++++---- 7/php8.2/fpm-alpine3.20/Dockerfile | 8 ++++---- 7/php8.2/fpm-bookworm/Dockerfile | 8 ++++---- 7/php8.2/fpm-bullseye/Dockerfile | 8 ++++---- versions.json | 10 +++++----- 13 files changed, 53 insertions(+), 53 deletions(-) diff --git a/7/php8.1/apache-bookworm/Dockerfile b/7/php8.1/apache-bookworm/Dockerfile index 3c15b448..c3fbadba 100644 --- a/7/php8.1/apache-bookworm/Dockerfile +++ b/7/php8.1/apache-bookworm/Dockerfile @@ -64,10 +64,10 @@ RUN { \ echo 'opcache.revalidate_freq=60'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini -# 2024-03-06: https://www.drupal.org/project/drupal/releases/7.100 -ENV DRUPAL_VERSION 7.100 -ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.100.tar.gz -ENV DRUPAL_MD5 e1e0963944555bee14bf54af5467192a +# 2024-06-05: https://www.drupal.org/project/drupal/releases/7.101 +ENV DRUPAL_VERSION 7.101 +ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.101.tar.gz +ENV DRUPAL_MD5 ddcd8cb4e885ae865a3d1a8b06707a67 RUN set -eux; \ curl -fSL "$DRUPAL_URL" -o drupal.tar.gz; \ diff --git a/7/php8.1/apache-bullseye/Dockerfile b/7/php8.1/apache-bullseye/Dockerfile index ab497a8b..6f795362 100644 --- a/7/php8.1/apache-bullseye/Dockerfile +++ b/7/php8.1/apache-bullseye/Dockerfile @@ -64,10 +64,10 @@ RUN { \ echo 'opcache.revalidate_freq=60'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini -# 2024-03-06: https://www.drupal.org/project/drupal/releases/7.100 -ENV DRUPAL_VERSION 7.100 -ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.100.tar.gz -ENV DRUPAL_MD5 e1e0963944555bee14bf54af5467192a +# 2024-06-05: https://www.drupal.org/project/drupal/releases/7.101 +ENV DRUPAL_VERSION 7.101 +ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.101.tar.gz +ENV DRUPAL_MD5 ddcd8cb4e885ae865a3d1a8b06707a67 RUN set -eux; \ curl -fSL "$DRUPAL_URL" -o drupal.tar.gz; \ diff --git a/7/php8.1/fpm-alpine3.19/Dockerfile b/7/php8.1/fpm-alpine3.19/Dockerfile index 52611ee7..c92397bd 100644 --- a/7/php8.1/fpm-alpine3.19/Dockerfile +++ b/7/php8.1/fpm-alpine3.19/Dockerfile @@ -53,10 +53,10 @@ RUN { \ echo 'opcache.revalidate_freq=60'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini -# 2024-03-06: https://www.drupal.org/project/drupal/releases/7.100 -ENV DRUPAL_VERSION 7.100 -ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.100.tar.gz -ENV DRUPAL_MD5 e1e0963944555bee14bf54af5467192a +# 2024-06-05: https://www.drupal.org/project/drupal/releases/7.101 +ENV DRUPAL_VERSION 7.101 +ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.101.tar.gz +ENV DRUPAL_MD5 ddcd8cb4e885ae865a3d1a8b06707a67 RUN set -eux; \ curl -fSL "$DRUPAL_URL" -o drupal.tar.gz; \ diff --git a/7/php8.1/fpm-alpine3.20/Dockerfile b/7/php8.1/fpm-alpine3.20/Dockerfile index 03651975..459ca778 100644 --- a/7/php8.1/fpm-alpine3.20/Dockerfile +++ b/7/php8.1/fpm-alpine3.20/Dockerfile @@ -53,10 +53,10 @@ RUN { \ echo 'opcache.revalidate_freq=60'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini -# 2024-03-06: https://www.drupal.org/project/drupal/releases/7.100 -ENV DRUPAL_VERSION 7.100 -ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.100.tar.gz -ENV DRUPAL_MD5 e1e0963944555bee14bf54af5467192a +# 2024-06-05: https://www.drupal.org/project/drupal/releases/7.101 +ENV DRUPAL_VERSION 7.101 +ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.101.tar.gz +ENV DRUPAL_MD5 ddcd8cb4e885ae865a3d1a8b06707a67 RUN set -eux; \ curl -fSL "$DRUPAL_URL" -o drupal.tar.gz; \ diff --git a/7/php8.1/fpm-bookworm/Dockerfile b/7/php8.1/fpm-bookworm/Dockerfile index e0e79254..b02993a4 100644 --- a/7/php8.1/fpm-bookworm/Dockerfile +++ b/7/php8.1/fpm-bookworm/Dockerfile @@ -64,10 +64,10 @@ RUN { \ echo 'opcache.revalidate_freq=60'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini -# 2024-03-06: https://www.drupal.org/project/drupal/releases/7.100 -ENV DRUPAL_VERSION 7.100 -ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.100.tar.gz -ENV DRUPAL_MD5 e1e0963944555bee14bf54af5467192a +# 2024-06-05: https://www.drupal.org/project/drupal/releases/7.101 +ENV DRUPAL_VERSION 7.101 +ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.101.tar.gz +ENV DRUPAL_MD5 ddcd8cb4e885ae865a3d1a8b06707a67 RUN set -eux; \ curl -fSL "$DRUPAL_URL" -o drupal.tar.gz; \ diff --git a/7/php8.1/fpm-bullseye/Dockerfile b/7/php8.1/fpm-bullseye/Dockerfile index 37154bb9..28d8678f 100644 --- a/7/php8.1/fpm-bullseye/Dockerfile +++ b/7/php8.1/fpm-bullseye/Dockerfile @@ -64,10 +64,10 @@ RUN { \ echo 'opcache.revalidate_freq=60'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini -# 2024-03-06: https://www.drupal.org/project/drupal/releases/7.100 -ENV DRUPAL_VERSION 7.100 -ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.100.tar.gz -ENV DRUPAL_MD5 e1e0963944555bee14bf54af5467192a +# 2024-06-05: https://www.drupal.org/project/drupal/releases/7.101 +ENV DRUPAL_VERSION 7.101 +ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.101.tar.gz +ENV DRUPAL_MD5 ddcd8cb4e885ae865a3d1a8b06707a67 RUN set -eux; \ curl -fSL "$DRUPAL_URL" -o drupal.tar.gz; \ diff --git a/7/php8.2/apache-bookworm/Dockerfile b/7/php8.2/apache-bookworm/Dockerfile index ae2ee1c9..b4d5e0e7 100644 --- a/7/php8.2/apache-bookworm/Dockerfile +++ b/7/php8.2/apache-bookworm/Dockerfile @@ -64,10 +64,10 @@ RUN { \ echo 'opcache.revalidate_freq=60'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini -# 2024-03-06: https://www.drupal.org/project/drupal/releases/7.100 -ENV DRUPAL_VERSION 7.100 -ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.100.tar.gz -ENV DRUPAL_MD5 e1e0963944555bee14bf54af5467192a +# 2024-06-05: https://www.drupal.org/project/drupal/releases/7.101 +ENV DRUPAL_VERSION 7.101 +ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.101.tar.gz +ENV DRUPAL_MD5 ddcd8cb4e885ae865a3d1a8b06707a67 RUN set -eux; \ curl -fSL "$DRUPAL_URL" -o drupal.tar.gz; \ diff --git a/7/php8.2/apache-bullseye/Dockerfile b/7/php8.2/apache-bullseye/Dockerfile index 5e73366f..3ac85aa2 100644 --- a/7/php8.2/apache-bullseye/Dockerfile +++ b/7/php8.2/apache-bullseye/Dockerfile @@ -64,10 +64,10 @@ RUN { \ echo 'opcache.revalidate_freq=60'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini -# 2024-03-06: https://www.drupal.org/project/drupal/releases/7.100 -ENV DRUPAL_VERSION 7.100 -ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.100.tar.gz -ENV DRUPAL_MD5 e1e0963944555bee14bf54af5467192a +# 2024-06-05: https://www.drupal.org/project/drupal/releases/7.101 +ENV DRUPAL_VERSION 7.101 +ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.101.tar.gz +ENV DRUPAL_MD5 ddcd8cb4e885ae865a3d1a8b06707a67 RUN set -eux; \ curl -fSL "$DRUPAL_URL" -o drupal.tar.gz; \ diff --git a/7/php8.2/fpm-alpine3.19/Dockerfile b/7/php8.2/fpm-alpine3.19/Dockerfile index d82b3614..ad85bac9 100644 --- a/7/php8.2/fpm-alpine3.19/Dockerfile +++ b/7/php8.2/fpm-alpine3.19/Dockerfile @@ -53,10 +53,10 @@ RUN { \ echo 'opcache.revalidate_freq=60'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini -# 2024-03-06: https://www.drupal.org/project/drupal/releases/7.100 -ENV DRUPAL_VERSION 7.100 -ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.100.tar.gz -ENV DRUPAL_MD5 e1e0963944555bee14bf54af5467192a +# 2024-06-05: https://www.drupal.org/project/drupal/releases/7.101 +ENV DRUPAL_VERSION 7.101 +ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.101.tar.gz +ENV DRUPAL_MD5 ddcd8cb4e885ae865a3d1a8b06707a67 RUN set -eux; \ curl -fSL "$DRUPAL_URL" -o drupal.tar.gz; \ diff --git a/7/php8.2/fpm-alpine3.20/Dockerfile b/7/php8.2/fpm-alpine3.20/Dockerfile index f18a6e50..f548be51 100644 --- a/7/php8.2/fpm-alpine3.20/Dockerfile +++ b/7/php8.2/fpm-alpine3.20/Dockerfile @@ -53,10 +53,10 @@ RUN { \ echo 'opcache.revalidate_freq=60'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini -# 2024-03-06: https://www.drupal.org/project/drupal/releases/7.100 -ENV DRUPAL_VERSION 7.100 -ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.100.tar.gz -ENV DRUPAL_MD5 e1e0963944555bee14bf54af5467192a +# 2024-06-05: https://www.drupal.org/project/drupal/releases/7.101 +ENV DRUPAL_VERSION 7.101 +ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.101.tar.gz +ENV DRUPAL_MD5 ddcd8cb4e885ae865a3d1a8b06707a67 RUN set -eux; \ curl -fSL "$DRUPAL_URL" -o drupal.tar.gz; \ diff --git a/7/php8.2/fpm-bookworm/Dockerfile b/7/php8.2/fpm-bookworm/Dockerfile index fa284850..49d0dc1b 100644 --- a/7/php8.2/fpm-bookworm/Dockerfile +++ b/7/php8.2/fpm-bookworm/Dockerfile @@ -64,10 +64,10 @@ RUN { \ echo 'opcache.revalidate_freq=60'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini -# 2024-03-06: https://www.drupal.org/project/drupal/releases/7.100 -ENV DRUPAL_VERSION 7.100 -ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.100.tar.gz -ENV DRUPAL_MD5 e1e0963944555bee14bf54af5467192a +# 2024-06-05: https://www.drupal.org/project/drupal/releases/7.101 +ENV DRUPAL_VERSION 7.101 +ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.101.tar.gz +ENV DRUPAL_MD5 ddcd8cb4e885ae865a3d1a8b06707a67 RUN set -eux; \ curl -fSL "$DRUPAL_URL" -o drupal.tar.gz; \ diff --git a/7/php8.2/fpm-bullseye/Dockerfile b/7/php8.2/fpm-bullseye/Dockerfile index 691f70e9..e00bc1bf 100644 --- a/7/php8.2/fpm-bullseye/Dockerfile +++ b/7/php8.2/fpm-bullseye/Dockerfile @@ -64,10 +64,10 @@ RUN { \ echo 'opcache.revalidate_freq=60'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini -# 2024-03-06: https://www.drupal.org/project/drupal/releases/7.100 -ENV DRUPAL_VERSION 7.100 -ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.100.tar.gz -ENV DRUPAL_MD5 e1e0963944555bee14bf54af5467192a +# 2024-06-05: https://www.drupal.org/project/drupal/releases/7.101 +ENV DRUPAL_VERSION 7.101 +ENV DRUPAL_URL https://ftp.drupal.org/files/projects/drupal-7.101.tar.gz +ENV DRUPAL_MD5 ddcd8cb4e885ae865a3d1a8b06707a67 RUN set -eux; \ curl -fSL "$DRUPAL_URL" -o drupal.tar.gz; \ diff --git a/versions.json b/versions.json index ae1823cf..7c32b407 100644 --- a/versions.json +++ b/versions.json @@ -90,11 +90,11 @@ } }, "7": { - "version": "7.100", - "url": "https://ftp.drupal.org/files/projects/drupal-7.100.tar.gz", - "md5": "e1e0963944555bee14bf54af5467192a", - "date": 1709734544, - "notes": "https://www.drupal.org/project/drupal/releases/7.100", + "version": "7.101", + "url": "https://ftp.drupal.org/files/projects/drupal-7.101.tar.gz", + "md5": "ddcd8cb4e885ae865a3d1a8b06707a67", + "date": 1717606635, + "notes": "https://www.drupal.org/project/drupal/releases/7.101", "phpVersions": [ "8.2", "8.1" From bf2a89f89a4740a74086694f2fa3efb971554028 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Thu, 6 Jun 2024 03:04:54 -0700 Subject: [PATCH 7/7] Update 10.2 to 10.2.7 --- 10.2/php8.2/apache-bookworm/Dockerfile | 4 ++-- 10.2/php8.2/apache-bullseye/Dockerfile | 4 ++-- 10.2/php8.2/fpm-alpine3.19/Dockerfile | 4 ++-- 10.2/php8.2/fpm-alpine3.20/Dockerfile | 4 ++-- 10.2/php8.2/fpm-bookworm/Dockerfile | 4 ++-- 10.2/php8.2/fpm-bullseye/Dockerfile | 4 ++-- 10.2/php8.3/apache-bookworm/Dockerfile | 4 ++-- 10.2/php8.3/apache-bullseye/Dockerfile | 4 ++-- 10.2/php8.3/fpm-alpine3.19/Dockerfile | 4 ++-- 10.2/php8.3/fpm-alpine3.20/Dockerfile | 4 ++-- 10.2/php8.3/fpm-bookworm/Dockerfile | 4 ++-- 10.2/php8.3/fpm-bullseye/Dockerfile | 4 ++-- versions.json | 10 +++++----- 13 files changed, 29 insertions(+), 29 deletions(-) diff --git a/10.2/php8.2/apache-bookworm/Dockerfile b/10.2/php8.2/apache-bookworm/Dockerfile index 788e42ad..386c2c1c 100644 --- a/10.2/php8.2/apache-bookworm/Dockerfile +++ b/10.2/php8.2/apache-bookworm/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 -ENV DRUPAL_VERSION 10.2.6 +# 2024-06-06: https://www.drupal.org/project/drupal/releases/10.2.7 +ENV DRUPAL_VERSION 10.2.7 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.2/apache-bullseye/Dockerfile b/10.2/php8.2/apache-bullseye/Dockerfile index dae8d24f..943cf373 100644 --- a/10.2/php8.2/apache-bullseye/Dockerfile +++ b/10.2/php8.2/apache-bullseye/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 -ENV DRUPAL_VERSION 10.2.6 +# 2024-06-06: https://www.drupal.org/project/drupal/releases/10.2.7 +ENV DRUPAL_VERSION 10.2.7 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.2/fpm-alpine3.19/Dockerfile b/10.2/php8.2/fpm-alpine3.19/Dockerfile index 05e634a4..3db6328e 100644 --- a/10.2/php8.2/fpm-alpine3.19/Dockerfile +++ b/10.2/php8.2/fpm-alpine3.19/Dockerfile @@ -55,8 +55,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 -ENV DRUPAL_VERSION 10.2.6 +# 2024-06-06: https://www.drupal.org/project/drupal/releases/10.2.7 +ENV DRUPAL_VERSION 10.2.7 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.2/fpm-alpine3.20/Dockerfile b/10.2/php8.2/fpm-alpine3.20/Dockerfile index 5670f3b9..815972b6 100644 --- a/10.2/php8.2/fpm-alpine3.20/Dockerfile +++ b/10.2/php8.2/fpm-alpine3.20/Dockerfile @@ -55,8 +55,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 -ENV DRUPAL_VERSION 10.2.6 +# 2024-06-06: https://www.drupal.org/project/drupal/releases/10.2.7 +ENV DRUPAL_VERSION 10.2.7 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.2/fpm-bookworm/Dockerfile b/10.2/php8.2/fpm-bookworm/Dockerfile index 742ff149..65a2503c 100644 --- a/10.2/php8.2/fpm-bookworm/Dockerfile +++ b/10.2/php8.2/fpm-bookworm/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 -ENV DRUPAL_VERSION 10.2.6 +# 2024-06-06: https://www.drupal.org/project/drupal/releases/10.2.7 +ENV DRUPAL_VERSION 10.2.7 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.2/fpm-bullseye/Dockerfile b/10.2/php8.2/fpm-bullseye/Dockerfile index a3b8643f..02c07951 100644 --- a/10.2/php8.2/fpm-bullseye/Dockerfile +++ b/10.2/php8.2/fpm-bullseye/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 -ENV DRUPAL_VERSION 10.2.6 +# 2024-06-06: https://www.drupal.org/project/drupal/releases/10.2.7 +ENV DRUPAL_VERSION 10.2.7 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.3/apache-bookworm/Dockerfile b/10.2/php8.3/apache-bookworm/Dockerfile index b52ebd84..12736d3c 100644 --- a/10.2/php8.3/apache-bookworm/Dockerfile +++ b/10.2/php8.3/apache-bookworm/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 -ENV DRUPAL_VERSION 10.2.6 +# 2024-06-06: https://www.drupal.org/project/drupal/releases/10.2.7 +ENV DRUPAL_VERSION 10.2.7 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.3/apache-bullseye/Dockerfile b/10.2/php8.3/apache-bullseye/Dockerfile index 53938397..7485b79a 100644 --- a/10.2/php8.3/apache-bullseye/Dockerfile +++ b/10.2/php8.3/apache-bullseye/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 -ENV DRUPAL_VERSION 10.2.6 +# 2024-06-06: https://www.drupal.org/project/drupal/releases/10.2.7 +ENV DRUPAL_VERSION 10.2.7 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.3/fpm-alpine3.19/Dockerfile b/10.2/php8.3/fpm-alpine3.19/Dockerfile index 299119e7..390c836e 100644 --- a/10.2/php8.3/fpm-alpine3.19/Dockerfile +++ b/10.2/php8.3/fpm-alpine3.19/Dockerfile @@ -55,8 +55,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 -ENV DRUPAL_VERSION 10.2.6 +# 2024-06-06: https://www.drupal.org/project/drupal/releases/10.2.7 +ENV DRUPAL_VERSION 10.2.7 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.3/fpm-alpine3.20/Dockerfile b/10.2/php8.3/fpm-alpine3.20/Dockerfile index 94a6b0a7..1f9e4491 100644 --- a/10.2/php8.3/fpm-alpine3.20/Dockerfile +++ b/10.2/php8.3/fpm-alpine3.20/Dockerfile @@ -55,8 +55,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 -ENV DRUPAL_VERSION 10.2.6 +# 2024-06-06: https://www.drupal.org/project/drupal/releases/10.2.7 +ENV DRUPAL_VERSION 10.2.7 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.3/fpm-bookworm/Dockerfile b/10.2/php8.3/fpm-bookworm/Dockerfile index a25bfb9a..6ef5db5c 100644 --- a/10.2/php8.3/fpm-bookworm/Dockerfile +++ b/10.2/php8.3/fpm-bookworm/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 -ENV DRUPAL_VERSION 10.2.6 +# 2024-06-06: https://www.drupal.org/project/drupal/releases/10.2.7 +ENV DRUPAL_VERSION 10.2.7 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/10.2/php8.3/fpm-bullseye/Dockerfile b/10.2/php8.3/fpm-bullseye/Dockerfile index ed699231..78f39349 100644 --- a/10.2/php8.3/fpm-bullseye/Dockerfile +++ b/10.2/php8.3/fpm-bullseye/Dockerfile @@ -66,8 +66,8 @@ RUN { \ COPY --from=composer:2 /usr/bin/composer /usr/local/bin/ -# 2024-05-01: https://www.drupal.org/project/drupal/releases/10.2.6 -ENV DRUPAL_VERSION 10.2.6 +# 2024-06-06: https://www.drupal.org/project/drupal/releases/10.2.7 +ENV DRUPAL_VERSION 10.2.7 # https://github.com/docker-library/drupal/pull/259 # https://github.com/moby/buildkit/issues/4503 diff --git a/versions.json b/versions.json index 7c32b407..3d2e7621 100644 --- a/versions.json +++ b/versions.json @@ -46,11 +46,11 @@ }, "10.3": null, "10.2": { - "version": "10.2.6", - "url": "https://ftp.drupal.org/files/projects/drupal-10.2.6.tar.gz", - "md5": "0826eb03f18db538f181bae4248e38ce", - "date": 1714597701, - "notes": "https://www.drupal.org/project/drupal/releases/10.2.6", + "version": "10.2.7", + "url": "https://ftp.drupal.org/files/projects/drupal-10.2.7.tar.gz", + "md5": "3a7e953bd925520d853f904466c1479e", + "date": 1717660024, + "notes": "https://www.drupal.org/project/drupal/releases/10.2.7", "phpVersions": [ "8.3", "8.2"