Skip to content

Chore(env) - PHP update #3013

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 5, 2025
Merged
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
50 changes: 2 additions & 48 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions .idea/symfony-flex-backend.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.7-labs
FROM php:8.4.6-fpm-bullseye
FROM php:8.4.8-fpm-bookworm

ENV APP_ENV prod
ENV APP_DEBUG 0
Expand All @@ -19,7 +19,7 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*

# Copy the install-php-extensions (Easily install PHP extension in official PHP Docker containers)
COPY --from=mlocati/php-extension-installer:2.7.31 /usr/bin/install-php-extensions /usr/local/bin/
COPY --from=mlocati/php-extension-installer:2.8.2 /usr/bin/install-php-extensions /usr/local/bin/

# Install and enable all necessary PHP extensions
RUN install-php-extensions \
Expand All @@ -40,7 +40,7 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*

# Copy the Composer PHAR from the Composer image into the PHP image
COPY --from=composer:2.8.8 /usr/bin/composer /usr/bin/composer
COPY --from=composer:2.8.9 /usr/bin/composer /usr/bin/composer

# Enable Composer autocompletion
RUN composer completion bash > /etc/bash_completion.d/composer
Expand Down
12 changes: 7 additions & 5 deletions Dockerfile_dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.4.6-fpm-bullseye
FROM php:8.4.8-fpm-bookworm

# Let's use bash as a default shell with login each time
SHELL ["/bin/bash", "--login", "-c"]
Expand All @@ -9,13 +9,14 @@ ARG HOST_GID

# Declare constants
ENV PATH "$PATH:/home/dev/.composer/vendor/bin:/app/vendor/bin"
ENV NVM_VERSION v0.40.1
ENV NODE_VERSION 23.11.0
ENV NVM_VERSION v0.40.3
ENV NODE_VERSION 24.3.0

# Update package list and install necessary libraries
RUN apt-get update \
&& apt-get install -y \
bash-completion \
build-essential \
fish \
g++ \
git \
Expand All @@ -35,6 +36,7 @@ RUN apt-get update \
vim \
wget \
zlib1g-dev \
&& apt-get upgrade -y \
&& rm -rf /var/lib/apt/lists/*

RUN echo 'deb http://download.opensuse.org/repositories/shells:/fish/Debian_12/ /' | \
Expand All @@ -56,7 +58,7 @@ ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

# Copy the install-php-extensions (Easily install PHP extension in official PHP Docker containers)
COPY --from=mlocati/php-extension-installer:2.7.31 /usr/bin/install-php-extensions /usr/local/bin/
COPY --from=mlocati/php-extension-installer:2.8.2 /usr/bin/install-php-extensions /usr/local/bin/

# Enable all necessary PHP packages
RUN install-php-extensions \
Expand All @@ -78,7 +80,7 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*

# Copy the Composer PHAR from the Composer image into the PHP image
COPY --from=composer:2.8.8 /usr/bin/composer /usr/bin/composer
COPY --from=composer:2.8.9 /usr/bin/composer /usr/bin/composer

# Enable Composer autocompletion
RUN composer completion bash > /etc/bash_completion.d/composer
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"config": {
"allow-plugins": true,
"platform": {
"php": "8.4.6"
"php": "8.4.8"
},
"sort-packages": true
},
Expand Down
Loading
Loading