Skip to content

Commit 3df255a

Browse files
authored
Merge pull request #3066 from tarlepp/chore(env)/php-update
Chore(env) - PHP update
2 parents 9904bbf + 3f0a6ce commit 3df255a

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

.idea/php.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/symfony-flex-backend.iml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1.7-labs
2-
FROM php:8.4.11-fpm-bookworm
2+
FROM php:8.4.13-fpm-bookworm
33

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

2121
# Copy the install-php-extensions (Easily install PHP extension in official PHP Docker containers)
22-
COPY --from=mlocati/php-extension-installer:2.8.5 /usr/bin/install-php-extensions /usr/local/bin/
22+
COPY --from=mlocati/php-extension-installer:2.9.11 /usr/bin/install-php-extensions /usr/local/bin/
2323

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

4242
# Copy the Composer PHAR from the Composer image into the PHP image
43-
COPY --from=composer:2.8.10 /usr/bin/composer /usr/bin/composer
43+
COPY --from=composer:2.8.12 /usr/bin/composer /usr/bin/composer
4444

4545
# Enable Composer autocompletion
4646
RUN composer completion bash > /etc/bash_completion.d/composer

Dockerfile_dev

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.4.11-fpm-bookworm
1+
FROM php:8.4.13-fpm-bookworm
22

33
# Let's use bash as a default shell with login each time
44
SHELL ["/bin/bash", "--login", "-c"]
@@ -10,14 +10,13 @@ ARG HOST_GID
1010
# Declare constants
1111
ENV PATH "$PATH:/home/dev/.composer/vendor/bin:/app/vendor/bin"
1212
ENV NVM_VERSION v0.40.3
13-
ENV NODE_VERSION 24.5.0
13+
ENV NODE_VERSION 24.9.0
1414

1515
# Update package list and install necessary libraries
1616
RUN apt-get update \
1717
&& apt-get install -y \
1818
bash-completion \
1919
build-essential \
20-
fish \
2120
g++ \
2221
git \
2322
gnupg \
@@ -58,7 +57,7 @@ ENV LANGUAGE en_US:en
5857
ENV LC_ALL en_US.UTF-8
5958

6059
# Copy the install-php-extensions (Easily install PHP extension in official PHP Docker containers)
61-
COPY --from=mlocati/php-extension-installer:2.8.5 /usr/bin/install-php-extensions /usr/local/bin/
60+
COPY --from=mlocati/php-extension-installer:2.9.11 /usr/bin/install-php-extensions /usr/local/bin/
6261

6362
# Enable all necessary PHP packages
6463
RUN install-php-extensions \
@@ -80,7 +79,7 @@ RUN apt-get update \
8079
&& rm -rf /var/lib/apt/lists/*
8180

8281
# Copy the Composer PHAR from the Composer image into the PHP image
83-
COPY --from=composer:2.8.10 /usr/bin/composer /usr/bin/composer
82+
COPY --from=composer:2.8.12 /usr/bin/composer /usr/bin/composer
8483

8584
# Enable Composer autocompletion
8685
RUN composer completion bash > /etc/bash_completion.d/composer

docker-entrypoint-dev.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export XDEBUG_SESSION=PHPSTORM
2626
COMPOSER_MEMORY_LIMIT=-1 composer install --optimize-autoloader
2727

2828
# Step 3
29-
composer audit
29+
composer audit --abandoned=report
3030

3131
# Step 4
3232
make generate-jwt-keys

0 commit comments

Comments
 (0)