Skip to content

Commit

Permalink
Merge branch 'PHP8.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
capuleto committed Dec 6, 2023
2 parents 127ae4a + 3813ede commit b88add3
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
tag: 8-2-fpm
- image: eksponent/php8
context: php8
dockerfile: Dockerfile-8-3-rc-fpm
tag: 8-3-rc-fpm
dockerfile: Dockerfile-8-3-fpm
tag: 8-3-fpm
# PHP 7
- image: eksponent/php7
context: php7
Expand Down Expand Up @@ -63,8 +63,8 @@ jobs:
tag: '8.2'
- image: eksponent/php-with-supervisor-for-workers
context: php-with-supervisor-for-workers
dockerfile: Dockerfile-8.3-rc
tag: '8.3-rc'
dockerfile: Dockerfile-8.3
tag: '8.3'
steps:
-
name: Checkout
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG ARCH=${ARCH}

FROM php:8.3-rc-cli
FROM php:8.3-cli

RUN pecl install mysql redis

Expand Down
2 changes: 1 addition & 1 deletion php8/Dockerfile-8-1-fpm
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RUN "date"
RUN echo "extension=redis.so" > /usr/local/etc/php/conf.d/redis.ini

# Install Composer
COPY --from=composer:2.5.4 /usr/bin/composer /usr/local/bin/composer
COPY --from=composer:2.6.5 /usr/bin/composer /usr/local/bin/composer

ADD entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
Expand Down
2 changes: 1 addition & 1 deletion php8/Dockerfile-8-2-fpm
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ RUN "date"
RUN echo "extension=redis.so" > /usr/local/etc/php/conf.d/redis.ini

# Install Composer
COPY --from=composer:2.5.4 /usr/bin/composer /usr/local/bin/composer
COPY --from=composer:2.6.5 /usr/bin/composer /usr/local/bin/composer

ADD entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
Expand Down
4 changes: 2 additions & 2 deletions php8/Dockerfile-8-3-rc-fpm → php8/Dockerfile-8-3-fpm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG ARCH=${ARCH}

FROM php:8.3-rc-fpm
FROM php:8.3-fpm

RUN pecl install mysql redis

Expand Down Expand Up @@ -53,7 +53,7 @@ RUN "date"
RUN echo "extension=redis.so" > /usr/local/etc/php/conf.d/redis.ini

# Install Composer
COPY --from=composer:2.5.4 /usr/bin/composer /usr/local/bin/composer
COPY --from=composer:2.6.5 /usr/bin/composer /usr/local/bin/composer

ADD entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
Expand Down
2 changes: 1 addition & 1 deletion php8/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ umask 002
# We only want xdebug in specific circumstances so it's better to opt-in when we need it
if [ -n "$ENABLE_XDEBUG" ]; then
# Install and configure Xdebug, RUN is not used in entrypoint scripts
pecl install xdebug \
pecl install xdebug-3.2.2 \
&& docker-php-ext-enable xdebug \
&& touch /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
&& sed -i '1 a xdebug.remote_autostart=true' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
Expand Down

0 comments on commit b88add3

Please sign in to comment.