Skip to content

Commit d2c51d4

Browse files
authored
Merge pull request #2981 from tarlepp/chore(env)/php-update
Chore(env) - PHP update
2 parents 47dc206 + a4d786c commit d2c51d4

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.idea/php.xml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1.7-labs
2-
FROM php:8.4.5-fpm
2+
FROM php:8.4.6-fpm-bullseye
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.7.28 /usr/bin/install-php-extensions /usr/local/bin/
22+
COPY --from=mlocati/php-extension-installer:2.7.31 /usr/bin/install-php-extensions /usr/local/bin/
2323

2424
# Install and enable all necessary PHP extensions
2525
RUN install-php-extensions \
@@ -36,11 +36,11 @@ RUN apt-get update \
3636
&& apt-get install -y \
3737
debsecan \
3838
&& apt-get install --no-install-recommends -y \
39-
$(debsecan --suite bookworm --format packages --only-fixed) \
39+
$(debsecan --suite bullseye --format packages --only-fixed) \
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.6 /usr/bin/composer /usr/bin/composer
43+
COPY --from=composer:2.8.8 /usr/bin/composer /usr/bin/composer
4444

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

Dockerfile_dev

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.4.5-fpm
1+
FROM php:8.4.6-fpm-bullseye
22

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

1515
# Update package list and install necessary libraries
1616
RUN apt-get update \
@@ -56,7 +56,7 @@ ENV LANGUAGE en_US:en
5656
ENV LC_ALL en_US.UTF-8
5757

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

6161
# Enable all necessary PHP packages
6262
RUN install-php-extensions \
@@ -74,11 +74,11 @@ RUN apt-get update \
7474
&& apt-get install -y \
7575
debsecan \
7676
&& apt-get install --no-install-recommends -y \
77-
$(debsecan --suite bookworm --format packages --only-fixed) \
77+
$(debsecan --suite bullseye --format packages --only-fixed) \
7878
&& rm -rf /var/lib/apt/lists/*
7979

8080
# Copy the Composer PHAR from the Composer image into the PHP image
81-
COPY --from=composer:2.8.6 /usr/bin/composer /usr/bin/composer
81+
COPY --from=composer:2.8.8 /usr/bin/composer /usr/bin/composer
8282

8383
# Enable Composer autocompletion
8484
RUN composer completion bash > /etc/bash_completion.d/composer

0 commit comments

Comments
 (0)