From 1f3a2cc04f9ad67fbee7e5e29d820d20c5bc4851 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sun, 6 Feb 2022 17:34:50 +1100 Subject: [PATCH] Workaround to fix the build as documented in https://github.com/docker-library/php/issues/1245 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3a95f41..6246949 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,4 +3,4 @@ FROM registry.leenooks.net/leenooks/php:8.0-fpm-latest -RUN docker-php-ext-install -j$(nproc) sockets pcntl +RUN CFLAGS="$CFLAGS -D_GNU_SOURCE" docker-php-ext-install -j$(nproc) sockets pcntl