fix docker

This commit is contained in:
2026-05-06 11:33:32 +02:00
parent 5a66723b5e
commit 1de68361a9
2 changed files with 7 additions and 4 deletions
+3 -2
View File
@@ -1,7 +1,8 @@
FROM php:8.3-fpm-alpine
RUN apk add --no-cache linux-headers=~6.7 \
&& docker-php-ext-install pcntl sockets
RUN apk add --no-cache linux-headers \
&& docker-php-ext-install pcntl sockets || \
docker-php-ext-install pcntl
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
+4 -2
View File
@@ -1,8 +1,10 @@
FROM php:8.3-cli-alpine
RUN apk add --no-cache linux-headers=~6.7 git
RUN apk add --no-cache linux-headers git
RUN docker-php-ext-install pcntl sockets
RUN apk add --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/v3.20/main linux-headers \
&& docker-php-ext-install pcntl sockets || \
docker-php-ext-install pcntl
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer