Skip to content

Commit

Permalink
Set PHP 8.3 as the default PHP version
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Feb 12, 2024
1 parent 936b042 commit fde7c18
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile_bookworm
Original file line number Diff line number Diff line change
Expand Up @@ -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; } \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile_bullseye
Original file line number Diff line number Diff line change
Expand Up @@ -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; } \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile_focal
Original file line number Diff line number Diff line change
Expand Up @@ -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; } \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile_jammy
Original file line number Diff line number Diff line change
Expand Up @@ -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; } \
Expand Down

0 comments on commit fde7c18

Please sign in to comment.