From fde7c182cff496dd612800f82e821c9b4326bccd Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Mon, 12 Feb 2024 17:24:10 +0000 Subject: [PATCH] Set PHP 8.3 as the default PHP version --- Dockerfile_bookworm | 2 +- Dockerfile_bullseye | 2 +- Dockerfile_focal | 2 +- Dockerfile_jammy | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile_bookworm b/Dockerfile_bookworm index 3344aa3..6c84904 100644 --- a/Dockerfile_bookworm +++ b/Dockerfile_bookworm @@ -112,7 +112,7 @@ RUN if [ "$type" = "full" ]; then DOCKER_PACKAGES= && set -ex \ && apt-get install -y --no-install-recommends php"$v"-imagick 2>/dev/null || (IMAGICK_LIBS=libmagickwand-dev spc -p "$v" -e imagick-imagick/imagick@master -r verbose); \ done \ && for tool in php phar phar.phar php-cgi php-config phpize phpdbg; do \ - { [ -e /usr/bin/"$tool"8.2 ] && sudo update-alternatives --set $tool /usr/bin/"$tool"8.2 || true; } \ + { [ -e /usr/bin/"$tool"8.3 ] && sudo update-alternatives --set $tool /usr/bin/"$tool"8.3 || true; } \ done \ && rm -rf /var/lib/apt/lists/* \ && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; } \ diff --git a/Dockerfile_bullseye b/Dockerfile_bullseye index 0ba3b9e..8afec0d 100644 --- a/Dockerfile_bullseye +++ b/Dockerfile_bullseye @@ -112,7 +112,7 @@ RUN if [ "$type" = "full" ]; then DOCKER_PACKAGES= && set -ex \ && apt-get install -y --no-install-recommends php"$v"-imagick 2>/dev/null || (IMAGICK_LIBS=libmagickwand-dev spc -p "$v" -e imagick-imagick/imagick@master -r verbose); \ done \ && for tool in php phar phar.phar php-cgi php-config phpize phpdbg; do \ - { [ -e /usr/bin/"$tool"8.2 ] && sudo update-alternatives --set $tool /usr/bin/"$tool"8.2 || true; } \ + { [ -e /usr/bin/"$tool"8.3 ] && sudo update-alternatives --set $tool /usr/bin/"$tool"8.3 || true; } \ done \ && rm -rf /var/lib/apt/lists/* \ && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; } \ diff --git a/Dockerfile_focal b/Dockerfile_focal index e85bdc1..6d90462 100644 --- a/Dockerfile_focal +++ b/Dockerfile_focal @@ -112,7 +112,7 @@ RUN if [ "$type" = "full" ]; then set -ex \ && apt-get install -y --no-install-recommends php"$v"-imagick 2>/dev/null || (IMAGICK_LIBS=libmagickwand-dev spc -p "$v" -e imagick-imagick/imagick@master -r verbose); \ done \ && for tool in php phar phar.phar php-cgi php-config phpize phpdbg; do \ - { [ -e /usr/bin/"$tool"8.2 ] && sudo update-alternatives --set $tool /usr/bin/"$tool"8.2 || true; } \ + { [ -e /usr/bin/"$tool"8.3 ] && sudo update-alternatives --set $tool /usr/bin/"$tool"8.3 || true; } \ done \ && rm -rf /var/lib/apt/lists/* \ && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; } \ diff --git a/Dockerfile_jammy b/Dockerfile_jammy index 1a772fb..76853ea 100644 --- a/Dockerfile_jammy +++ b/Dockerfile_jammy @@ -112,7 +112,7 @@ RUN if [ "$type" = "full" ]; then set -ex \ && apt-get install -y --no-install-recommends php"$v"-imagick 2>/dev/null || (IMAGICK_LIBS=libmagickwand-dev spc -p "$v" -e imagick-imagick/imagick@master -r verbose); \ done \ && for tool in php phar phar.phar php-cgi php-config phpize phpdbg; do \ - { [ -e /usr/bin/"$tool"8.2 ] && sudo update-alternatives --set $tool /usr/bin/"$tool"8.2 || true; } \ + { [ -e /usr/bin/"$tool"8.3 ] && sudo update-alternatives --set $tool /usr/bin/"$tool"8.3 || true; } \ done \ && rm -rf /var/lib/apt/lists/* \ && { [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; } \