Skip to content

Commit 4fb99d8

Browse files
author
Kevin Buchholz
committed
install extensions missing due to the update
also remove edge repositories from apk
1 parent f74d1a2 commit 4fb99d8

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

Dockerfile

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ ENV PHP_OPCACHE_VALIDATE_TIMESTAMPS="0" \
1212
PHP_FPM_PROCESS_IDLE_TIMEOUT="10s"
1313

1414
RUN apk info \
15-
&& echo @edge http://nl.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories \
16-
&& echo @edge http://nl.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories \
1715
&& apk update \
1816
&& apk upgrade \
1917
&& apk add --no-cache --virtual .build-deps \
@@ -34,12 +32,14 @@ RUN apk info \
3432
nodejs \
3533
npm \
3634
composer \
37-
php8-tokenizer \
38-
php8-simplexml \
39-
php8-dom \
4035
mysql-client \
4136
mariadb-connector-c \
42-
yarn@edge \
37+
php8-dom \
38+
php8-tokenizer \
39+
php8-xml \
40+
php8-xmlwriter \
41+
php8-fileinfo \
42+
yarn \
4343
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
4444
&& docker-php-ext-install -j$(nproc) \
4545
gd \
@@ -51,10 +51,14 @@ RUN apk info \
5151
opcache \
5252
pcntl \
5353
iconv \
54+
xml \
55+
xmlwriter \
56+
dom \
57+
tokenizer \
58+
fileinfo \
5459
&& pecl install \
5560
redis \
56-
&& docker-php-ext-enable \
57-
redis \
61+
&& docker-php-ext-enable redis \
5862
&& apk del .build-deps \
5963
&& rm -rf /tmp/* /var/cache/apk/*
6064

0 commit comments

Comments
 (0)