Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/glpi-development-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
- {base-image: "php:8.2-apache-trixie", php-version: "8.2", latest: "false"}
- {base-image: "php:8.3-apache-trixie", php-version: "8.3", latest: "false"}
- {base-image: "php:8.4-apache-trixie", php-version: "8.4", latest: "true"}
- {base-image: "php:8.5-rc-apache-trixie", php-version: "8.5", latest: "false"}
steps:
- name: "Set variables"
run: |
Expand Down
7 changes: 5 additions & 2 deletions glpi-development-env/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ LABEL \

RUN apt update \
&& PHP_MAJOR_VERSION="$(echo $PHP_VERSION | cut -d '.' -f 1)" \
&& PHP_MINOR_VERSION="$(echo $PHP_VERSION | cut -d '.' -f 2)" \
\
# Install bz2 extension (for marketplace).
&& apt install --assume-yes --no-install-recommends --quiet libbz2-dev \
Expand Down Expand Up @@ -52,8 +53,10 @@ RUN apt update \
# Install bcmath PHP extension.
&& docker-php-ext-install bcmath \
\
# Install opcache PHP extension.
&& docker-php-ext-install opcache \
# Install opcache PHP extension (it is already enabled in PHP 8.5+ images).
&& if [ $PHP_MINOR_VERSION -ne "8.5" ]; then \
docker-php-ext-install opcache \
; fi \
\
# Install pcntl PHP extension (required for composer-require-checker).
&& docker-php-ext-install pcntl \
Expand Down
Loading