File tree 2 files changed +14
-9
lines changed
2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ ENV PHP_OPCACHE_VALIDATE_TIMESTAMPS="0" \
12
12
PHP_FPM_PROCESS_IDLE_TIMEOUT="10s"
13
13
14
14
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 \
17
15
&& apk update \
18
16
&& apk upgrade \
19
17
&& apk add --no-cache --virtual .build-deps \
@@ -34,12 +32,14 @@ RUN apk info \
34
32
nodejs \
35
33
npm \
36
34
composer \
37
- php8-tokenizer \
38
- php8-simplexml \
39
- php8-dom \
40
35
mysql-client \
41
36
mariadb-connector-c \
42
- yarn@edge \
37
+ php8-dom \
38
+ php8-tokenizer \
39
+ php8-xml \
40
+ php8-xmlwriter \
41
+ php8-fileinfo \
42
+ yarn \
43
43
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
44
44
&& docker-php-ext-install -j$(nproc) \
45
45
gd \
@@ -51,10 +51,14 @@ RUN apk info \
51
51
opcache \
52
52
pcntl \
53
53
iconv \
54
+ xml \
55
+ xmlwriter \
56
+ dom \
57
+ tokenizer \
58
+ fileinfo \
54
59
&& pecl install \
55
60
redis \
56
- && docker-php-ext-enable \
57
- redis \
61
+ && docker-php-ext-enable redis \
58
62
&& apk del .build-deps \
59
63
&& rm -rf /tmp/* /var/cache/apk/*
60
64
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ services:
6
6
environment :
7
7
- STARTUP_COMMAND1=php --version
8
8
- STARTUP_COMMAND2=composer --version
9
- - STARTUP_COMMAND3=chmod +x /root/test/test-command.sh
9
+ - STARTUP_COMMAND3=yarn -v
10
+ - STARTUP_COMMAND4=chmod +x /root/test/test-command.sh
10
11
volumes :
11
12
- ./test:/root/test
You can’t perform that action at this time.
0 commit comments