Skip to content

Commit

Permalink
Merge pull request #2426 from tarlepp/chore(env)/php-update
Browse files Browse the repository at this point in the history
Chore(env) - PHP update
  • Loading branch information
tarlepp committed Sep 23, 2023
2 parents 76b4bac + f3ce57e commit cef2b51
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .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
@@ -1,4 +1,4 @@
FROM php:8.2.9-fpm
FROM php:8.2.10-fpm

ENV APP_ENV prod
ENV APP_DEBUG 0
Expand All @@ -18,7 +18,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.1.45 /usr/bin/install-php-extensions /usr/local/bin/
COPY --from=mlocati/php-extension-installer:2.1.51 /usr/bin/install-php-extensions /usr/local/bin/

# Install and enable all necessary PHP extensions
RUN install-php-extensions \
Expand All @@ -31,7 +31,7 @@ RUN install-php-extensions \
zip

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

# Enable Composer autocompletion
RUN composer completion bash > /etc/bash_completion.d/composer
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile_dev
@@ -1,4 +1,4 @@
FROM php:8.2.9-fpm
FROM php:8.2.10-fpm

# Let's use bash as a default shell with login each time
SHELL ["/bin/bash", "--login", "-c"]
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.1.45 /usr/bin/install-php-extensions /usr/local/bin/
COPY --from=mlocati/php-extension-installer:2.1.51 /usr/bin/install-php-extensions /usr/local/bin/

# Enable all necessary PHP packages
RUN install-php-extensions \
Expand All @@ -70,7 +70,7 @@ RUN install-php-extensions \
zip

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

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

0 comments on commit cef2b51

Please sign in to comment.