Skip to content

Chore(env) - PHP update #2952

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 2 commits into from
Mar 29, 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
4 changes: 2 additions & 2 deletions .idea/php.xml

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.4-fpm
FROM php:8.4.5-fpm

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.24 /usr/bin/install-php-extensions /usr/local/bin/
COPY --from=mlocati/php-extension-installer:2.7.28 /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.5 /usr/bin/composer /usr/bin/composer
COPY --from=composer:2.8.6 /usr/bin/composer /usr/bin/composer

# Enable Composer autocompletion
RUN composer completion bash > /etc/bash_completion.d/composer
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile_dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.4.4-fpm
FROM php:8.4.5-fpm

# Let's use bash as a default shell with login each time
SHELL ["/bin/bash", "--login", "-c"]
Expand All @@ -10,7 +10,7 @@ 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.8.0
ENV NODE_VERSION 23.10.0

# Update package list and install necessary libraries
RUN apt-get update \
Expand Down Expand Up @@ -56,7 +56,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.24 /usr/bin/install-php-extensions /usr/local/bin/
COPY --from=mlocati/php-extension-installer:2.7.28 /usr/bin/install-php-extensions /usr/local/bin/

# Enable all necessary PHP packages
RUN install-php-extensions \
Expand All @@ -78,7 +78,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.5 /usr/bin/composer /usr/bin/composer
COPY --from=composer:2.8.6 /usr/bin/composer /usr/bin/composer

# Enable Composer autocompletion
RUN composer completion bash > /etc/bash_completion.d/composer
Expand Down
Loading