Skip to content

Commit

Permalink
re-enable sockets build
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood committed Feb 19, 2022
1 parent e488857 commit e3f559b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions images/php-fpm/8.0.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ RUN apk add --no-cache --virtual .phpize-deps $PHPIZE_DEPS \
&& sed -i '1s/^/;Intentionally disabled. Enable via setting env variable XDEBUG_ENABLE to true\n;/' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini

RUN docker-php-ext-configure gd --with-webp --with-jpeg \
&& docker-php-ext-install -j4 bcmath gd gettext mysqli pdo_mysql opcache pdo_pgsql pgsql shmop soap xsl zip \
# PHP failing to build sockets extension https://github.com/docker-library/php/issues/1245#issuecomment-1020146157
&& CFLAGS="$CFLAGS -D_GNU_SOURCE" docker-php-ext-install -j4 sockets
&& docker-php-ext-install -j4 bcmath gd gettext mysqli pdo_mysql opcache pdo_pgsql pgsql shmop soap sockets xsl zip

# New Relic PHP Agent.
# @see https://docs.newrelic.com/docs/release-notes/agent-release-notes/php-release-notes/
Expand Down

0 comments on commit e3f559b

Please sign in to comment.