Skip to content

Commit

Permalink
chore(docker): Upgrade PHP to the latest active version
Browse files Browse the repository at this point in the history
Version 8.1 is no more active [1].

[1] https://www.php.net/supported-versions.php

Signed-off-by: Frank Viernau <[email protected]>
  • Loading branch information
fviernau committed Aug 1, 2024
1 parent 3b079c4 commit c92d124
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -549,9 +549,11 @@ ARG COMPOSER_VERSION

RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
sudo apt-get update && \
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y --no-install-recommends \
php${PHP_VERSION} \
sudo apt-get update \
&& sudo apt-get install -y software-properties-common \
&& sudo add-apt-repository ppa:ondrej/php \
&& sudo apt-get update \
&& DEBIAN_FRONTEND=noninteractive sudo apt-get install -y --no-install-recommends php${PHP_VERSION} \
&& sudo rm -rf /var/lib/apt/lists/*

RUN mkdir -p /opt/php/bin \
Expand Down
2 changes: 1 addition & 1 deletion docker/versions.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ARG LICENSEE_VERSION=9.15.3
ARG NODEJS_VERSION=20.14.0
ARG NPM_VERSION=10.7.0
ARG NUGET_INSPECTOR_VERSION=0.9.12
ARG PHP_VERSION=8.1
ARG PHP_VERSION=8.3
ARG PIPTOOL_VERSION=24.0
ARG PNPM_VERSION=9.2.0
ARG PYENV_GIT_TAG=v2.4.1
Expand Down

0 comments on commit c92d124

Please sign in to comment.