Skip to content

Commit

Permalink
fix: 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Mar 31, 2024
1 parent 2864e19 commit cdefbac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions 8.1.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ ENV \
COPY docker-* /usr/local/bin/

# copy from existing
COPY --from=adhocore/phpfpm:8.1 /usr/local/lib/php/extensions/no-debug-non-zts-20210902/*.so /usr/local/lib/php/extensions/no-debug-non-zts-20210902/
COPY --from=adhocore/phpfpm:8.1 /usr/local/etc/php/conf.d/*.ini /usr/local/etc/php/conf.d/
# COPY --from=adhocore/phpfpm:8.1 /usr/local/lib/php/extensions/no-debug-non-zts-20210902/*.so /usr/local/lib/php/extensions/no-debug-non-zts-20210902/
# COPY --from=adhocore/phpfpm:8.1 /usr/local/etc/php/conf.d/*.ini /usr/local/etc/php/conf.d/

# ext
COPY ext.php /ext.php
Expand All @@ -38,7 +38,7 @@ RUN \
#
# php extensions
&& docker-php-source extract \
&& rm -f /usr/local/lib/php/extensions/no-debug-non-zts-20210902/intl.so /usr/local/etc/php/conf.d/docker-php-ext-intl.ini \
&& docker-php-ext-remove intl \
&& pecl channel-update pecl.php.net \
&& { php -m | grep gd || docker-php-ext-configure gd --with-freetype --with-jpeg --enable-gd; } \
&& docker-php-ext-install-if $PHP_EXTENSIONS \
Expand Down
6 changes: 3 additions & 3 deletions 8.2.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ ENV \
COPY docker-* /usr/local/bin/

# copy from existing
# COPY --from=adhocore/phpfpm:8.2 /usr/local/lib/php/extensions/no-debug-non-zts-20220829/*.so /usr/local/lib/php/extensions/no-debug-non-zts-20220829/
# COPY --from=adhocore/phpfpm:8.2 /usr/local/etc/php/conf.d/*.ini /usr/local/etc/php/conf.d/
COPY --from=adhocore/phpfpm:8.2 /usr/local/lib/php/extensions/no-debug-non-zts-20220829/*.so /usr/local/lib/php/extensions/no-debug-non-zts-20220829/
COPY --from=adhocore/phpfpm:8.2 /usr/local/etc/php/conf.d/*.ini /usr/local/etc/php/conf.d/

# ext
COPY ext.php /ext.php
Expand All @@ -40,7 +40,7 @@ RUN \
#
# php extensions
&& docker-php-source extract \
&& echo docker-php-ext-remove apcu intl mognodb imagick \
&& docker-php-ext-remove intl \
&& pecl channel-update pecl.php.net \
&& { php -m | grep gd || docker-php-ext-configure gd --with-freetype --with-jpeg --enable-gd; } \
&& docker-php-ext-install-if $PHP_EXTENSIONS \
Expand Down

0 comments on commit cdefbac

Please sign in to comment.