Sylius/Sylius-Standard

failed to solve: process "/bin/sh -c install-php-extensions apcu exif gd intl pdo_mysql opcache zip" did not complete successfully: exit code: 1

Closed this issue · 1 comments

I have cloned the repository into a new project name on Windows 11 using the latest installation of docker, executed
docker compose up -d
And received the following logs:

[+] Building 29.1s (18/54)                                                                               docker:default
 => [migrations internal] load build definition from Dockerfile                                                    0.0s
 => => transferring dockerfile: 5.24kB                                                                             0.0s
 => [migrations internal] load .dockerignore                                                                       0.0s
 => => transferring context: 463B                                                                                  0.0s
 => [migrations internal] load metadata for docker.io/library/php:8.1-fpm-alpine3.15                               0.9s
 => [migrations internal] load metadata for docker.io/mlocati/php-extension-installer:latest                       0.9s
 => [migrations internal] load metadata for docker.io/library/composer:2.4                                         0.8s
 => [migrations internal] load metadata for docker.io/library/node:16-alpine3.15                                   0.8s
 => [migrations internal] load build context                                                                       0.1s
 => => transferring context: 152.79kB                                                                              0.0s
 => [migrations sylius_node  1/13] FROM docker.io/library/node:16-alpine3.15@sha256:ecf74556cdeee48382e555a377ddb  0.0s
 => CACHED [migrations composer 1/1] FROM docker.io/library/composer:2.4@sha256:873edec4830a0d72f153d6bcd489003aa  0.0s
 => [migrations base  1/23] FROM docker.io/library/php:8.1-fpm-alpine3.15@sha256:fc434d1e2897c4bbad93714eadd590af  0.0s
 => [migrations php_extension_installer 1/1] FROM docker.io/mlocati/php-extension-installer:latest@sha256:c3a2b78  0.0s
 => CACHED [migrations base  2/23] RUN apk add --no-cache         acl         file         gettext         unzip   0.0s
 => CACHED [migrations base  3/23] COPY --from=php_extension_installer /usr/bin/install-php-extensions /usr/local  0.0s
 => ERROR [migrations base  4/23] RUN install-php-extensions apcu exif gd intl pdo_mysql opcache zip              28.1s
 => CACHED [migrations sylius_node  2/13] WORKDIR /srv/sylius                                                      0.0s
 => CACHED [migrations sylius_node  3/13] RUN set -eux;  apk add --no-cache --virtual .build-deps   g++   gcc   m  0.0s
 => CACHED [migrations sylius_node  4/13] COPY package.json yarn.* ./                                              0.0s
 => CANCELED [migrations sylius_node  5/13] RUN set -eux;     yarn install;     yarn cache clean                  28.1s
------
 > [migrations base  4/23] RUN install-php-extensions apcu exif gd intl pdo_mysql opcache zip:
0.644 install-php-extensions v.2.1.38
0.644 #StandWithUkraine
2.475 Updating channel "pecl.php.net"
7.484 Channel "pecl.php.net" is not responding over http://, failed with message: Connection to `pecl.php.net:80' failed: php_network_getaddresses: getaddrinfo for pecl.php.net failed: Try again
7.484 Trying channel "pecl.php.net" over https:// instead
12.49 Cannot retrieve channel.xml for channel "pecl.php.net" (Connection to `ssl://pecl.php.net:443' failed: php_network_getaddresses: getaddrinfo for pecl.php.net failed: Try again)
12.50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
12.75 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
13.06 v3.15.9-78-g3fc405cd76a [https://dl-cdn.alpinelinux.org/alpine/v3.15/main]
13.06 v3.15.9-78-g3fc405cd76a [https://dl-cdn.alpinelinux.org/alpine/v3.15/community]
13.06 OK: 15870 distinct packages available
17.10 ### INSTALLING REQUIRED PACKAGES ###
17.10 # Packages to be kept after installation: aom-libs libbz2 libpng freetype libstdc++ icu-libs libdav1d libavif libjpeg-turbo libwebp libxau libmd libbsd libxdmcp libxcb libx11 libxext libice libuuid libsm libxt libxpm zstd-libs libzip
17.10 # Packages to be used only for installation: pkgconf aom-dev m4 perl autoconf expat lz4-libs libarchive rhash-libs libuv cmake dav1d-dev dpkg dpkg-dev brotli-dev zlib-dev libpng-dev freetype-dev binutils libatomic libgphobos gmp isl22 mpfr4 mpc1 gcc musl-dev libc-dev g++ nettle libffi p11-kit libtasn1 gnutls gnutls-c++ libgmpxx gmp-dev nettle-dev libtasn1-progs libtasn1-dev p11-kit-dev gnutls-dev icu icu-dev libavif-dev libjpeg-turbo-dev openssl-dev libretls-dev libwebp-dev xorgproto libxau-dev xcb-proto libxdmcp-dev libxcb-dev xtrans libx11-dev libxpm-dev bzip2-dev xz-dev zstd-dev libzip-dev make re2c
17.28 (1/90) Upgrading musl (1.2.2-r7 -> 1.2.2-r9)
17.36 (2/90) Installing aom-libs (3.2.0-r0)
17.42 (3/90) Installing pkgconf (1.8.1-r0)
17.44 (4/90) Installing aom-dev (3.2.0-r0)
17.53 (5/90) Upgrading libcrypto1.1 (1.1.1s-r1 -> 1.1.1v-r0)
17.58 (6/90) Upgrading libssl1.1 (1.1.1s-r1 -> 1.1.1v-r0)
17.60 (7/90) Installing m4 (1.4.18-r2)
17.62 (8/90) Installing libbz2 (1.0.8-r1)
17.63 (9/90) Installing perl (5.34.0-r1)
18.01 (10/90) Installing autoconf (2.71-r0)
18.05 (11/90) Installing libstdc++ (10.3.1_git20211027-r0)
18.09 (12/90) Installing binutils (2.37-r3)
18.19 (13/90) Installing brotli-dev (1.0.9-r5)
18.19 (14/90) Installing bzip2-dev (1.0.8-r1)
18.20 (15/90) Installing expat (2.5.0-r0)
18.21 (16/90) Installing lz4-libs (1.9.3-r1)
18.23 (17/90) Installing zstd-libs (1.5.0-r0)
18.25 (18/90) Installing libarchive (3.6.1-r1)
18.27 (19/90) Installing rhash-libs (1.4.2-r2)
18.28 (20/90) Installing libuv (1.42.0-r0)
18.29 (21/90) Installing cmake (3.21.7-r0)
18.96 (22/90) Installing libdav1d (0.9.2-r0)
18.99 (23/90) Installing dav1d-dev (0.9.2-r0)
19.00 (24/90) Installing dpkg (1.20.10-r0)
19.03 (25/90) Installing dpkg-dev (1.20.10-r0)
19.07 (26/90) Installing libpng (1.6.37-r1)
19.08 (27/90) Installing freetype (2.11.1-r2)
19.10 (28/90) Installing zlib-dev (1.2.12-r3)
19.11 (29/90) Installing libpng-dev (1.6.37-r1)
19.12 (30/90) Installing freetype-dev (2.11.1-r2)
19.15 (31/90) Installing libatomic (10.3.1_git20211027-r0)
19.16 (32/90) Installing libgphobos (10.3.1_git20211027-r0)
19.23 (33/90) Installing gmp (6.2.1-r1)
19.24 (34/90) Installing isl22 (0.22-r0)
19.27 (35/90) Installing mpfr4 (4.1.0-r0)
19.35 (36/90) Installing mpc1 (1.2.1-r0)
19.36 (37/90) Installing gcc (10.3.1_git20211027-r0)
20.45 (38/90) Installing musl-dev (1.2.2-r9)
20.57 (39/90) Installing libc-dev (0.7.2-r3)
20.61 (40/90) Installing g++ (10.3.1_git20211027-r0)
21.21 (41/90) Installing libgmpxx (6.2.1-r1)
21.22 (42/90) Installing gmp-dev (6.2.1-r1)
21.24 (43/90) Installing nettle (3.7.3-r0)
21.26 (44/90) Installing libffi (3.4.2-r1)
21.27 (45/90) Installing p11-kit (0.24.0-r1)
21.29 (46/90) Installing libtasn1 (4.18.0-r1)
21.31 (47/90) Installing gnutls (3.7.1-r2)
21.34 (48/90) Installing gnutls-c++ (3.7.1-r2)
21.35 (49/90) Installing nettle-dev (3.7.3-r0)
21.37 (50/90) Installing libtasn1-progs (4.18.0-r1)
21.38 (51/90) Installing libtasn1-dev (4.18.0-r1)
21.39 (52/90) Installing p11-kit-dev (0.24.0-r1)
21.40 (53/90) Installing gnutls-dev (3.7.1-r2)
21.41 (54/90) Installing icu-libs (69.1-r1)
21.92 (55/90) Installing icu (69.1-r1)
21.95 (56/90) Installing icu-dev (69.1-r1)
22.00 (57/90) Installing libavif (0.9.2-r3)
22.01 (58/90) Installing libavif-dev (0.9.2-r3)
22.02 (59/90) Installing libmd (1.0.3-r0)
22.04 (60/90) Installing libbsd (0.11.3-r1)
22.05 (61/90) Installing libice (1.0.10-r0)
22.06 (62/90) Installing libjpeg-turbo (2.1.2-r0)
22.08 (63/90) Installing libjpeg-turbo-dev (2.1.2-r0)
22.09 (64/90) Installing openssl-dev (1.1.1v-r0)
22.12 (65/90) Installing libretls-dev (3.3.4-r3)
22.13 (66/90) Installing libuuid (2.37.4-r0)
22.14 (67/90) Installing libsm (1.2.3-r0)
22.15 (68/90) Installing libwebp (1.2.2-r1)
22.17 (69/90) Installing libwebp-dev (1.2.2-r1)
22.19 (70/90) Installing libxau (1.0.9-r0)
22.20 (71/90) Installing libxdmcp (1.1.3-r0)
22.21 (72/90) Installing libxcb (1.14-r2)
22.23 (73/90) Installing libx11 (1.7.3.1-r1)
22.28 (74/90) Installing xorgproto (2021.5-r0)
22.32 (75/90) Installing libxau-dev (1.0.9-r0)
22.32 (76/90) Installing xcb-proto (1.14.1-r2)
22.34 (77/90) Installing libxdmcp-dev (1.1.3-r0)
22.35 (78/90) Installing libxcb-dev (1.14-r2)
22.37 (79/90) Installing xtrans (1.4.0-r1)
22.38 (80/90) Installing libx11-dev (1.7.3.1-r1)
22.39 (81/90) Installing libxext (1.3.4-r0)
22.40 (82/90) Installing libxt (1.2.1-r0)
22.41 (83/90) Installing libxpm (3.5.15-r0)
22.42 (84/90) Installing libxpm-dev (3.5.15-r0)
22.43 (85/90) Installing libzip (1.8.0-r1)
22.45 (86/90) Installing xz-dev (5.2.5-r1)
22.46 (87/90) Installing zstd-dev (1.5.0-r0)
22.48 (88/90) Installing libzip-dev (1.8.0-r1)
22.49 (89/90) Installing make (4.3-r0)
22.50 (90/90) Installing re2c (2.1.1-r0)
22.52 Executing busybox-1.34.1-r7.trigger
22.53 OK: 380 MiB in 130 packages
22.78 ### INSTALLING REMOTE MODULE apcu ###
27.83 No releases available for package "pecl.php.net/apcu"
27.83 install failed
------
failed to solve: process "/bin/sh -c install-php-extensions apcu exif gd intl pdo_mysql opcache zip" did not complete successfully: exit code: 1```

Simply a connection problem.