Skip to content

Commit 9ac11fb

Browse files
authored
Merge pull request #105 from codecrafters-io/andy/upgrade
Add pcntl and sockets extensions in PHP 8.4 Dockerfile
2 parents 6e37dfb + 4d9b41c commit 9ac11fb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

dockerfiles/php-8.4.Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
# syntax=docker/dockerfile:1.7-labs
22
FROM php:8.4-cli-alpine3.22
3+
4+
# For ext-sockets installation
5+
RUN apk add linux-headers=~6.14.2-r0 --no-cache
6+
7+
RUN docker-php-ext-install pcntl sockets

0 commit comments

Comments
 (0)