[php-src] Issue #8899: ext-sockets won't compile in official Docker image `8.2-rc-alpine`

From: Date: Thu, 30 Jun 2022 08:58:15 +0000
Subject: [php-src] Issue #8899: ext-sockets won't compile in official Docker image `8.2-rc-alpine`
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-241839@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8899 Author: someniatko ### Description 1. Try creating a Docker image FROM php:8.2-rc-alpine, 2. Include there a RUN command docker-php-ext-install sockets It will fail with error: ``` /usr/src/php/ext/sockets/sockets.c:59:12: fatal error: linux/sock_diag.h: No such file or directory 59 | # include <linux/sock_diag.h> | ^~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:209: sockets.lo] Error 1 ``` Feel free to transfer this issue to a relevant project if needed. ### PHP Version 8.2 ### Operating System Alpine

« previous php.bugs (#241839) next »