Skip to content

Commit 309bd11

Browse files
committed
Updated PHP, Composer and mlocati/docker-php-extension-installer
1 parent ef3aa4a commit 309bd11

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1.7-labs
2-
FROM php:8.4.2-fpm
2+
FROM php:8.4.4-fpm
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.8 /usr/bin/install-php-extensions /usr/local/bin/
22+
COPY --from=mlocati/php-extension-installer:2.7.24 /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.4 /usr/bin/composer /usr/bin/composer
43+
COPY --from=composer:2.8.5 /usr/bin/composer /usr/bin/composer
4444

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

Dockerfile_dev

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.4.2-fpm
1+
FROM php:8.4.4-fpm
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.5.0
13+
ENV NODE_VERSION 23.8.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.8 /usr/bin/install-php-extensions /usr/local/bin/
59+
COPY --from=mlocati/php-extension-installer:2.7.24 /usr/bin/install-php-extensions /usr/local/bin/
6060

6161
# Enable all necessary PHP packages
6262
RUN install-php-extensions \
@@ -78,7 +78,7 @@ RUN apt-get update \
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.4 /usr/bin/composer /usr/bin/composer
81+
COPY --from=composer:2.8.5 /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)