Échec de compilation depuis le passage à Alpine 3.20
On me signale qu’il n’est plus possible de générer les images Docker à cause de paquetages PHP 8.1 manquants :
/spf-dkim-dmarc-demo# docker compose build
WARN[0000] /containers/afnic/spf-dkim-dmarc-demo/docker-compose.yml: `version` is obsolete
[+] Building 3.1s (39/97) docker:default
=> [console internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.18kB 0.0s
=> [recipient internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 3.65kB 0.0s
=> [attacker internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.82kB 0.0s
=> [sender internal] load metadata for docker.io/library/alpine:latest 0.3s
=> [sender internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.90kB 0.0s
=> [dns internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.65kB 0.0s
=> [frontend internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 193B 0.0s
=> [frontend internal] load metadata for docker.io/library/nginx:latest 0.4s
=> [attacker internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [sender internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [dns internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [console internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [recipient internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [recipient internal] load build context 0.1s
=> => transferring context: 86.07kB 0.1s
=> CACHED [dns roundcube-build 1/7] FROM docker.io/library/alpine:latest@sha256:b89d9c93e9ed3597455c90a0b88a8bbb5cb71 0.0s
=> CACHED [recipient roundcube-build 4/7] ADD https://github.com/roundcube/roundcubemail/releases/download/1.6.1/roun 0.6s
=> [attacker internal] load build context 0.1s
=> => transferring context: 22.29kB 0.0s
=> [console internal] load build context 0.5s
=> => transferring context: 15.97MB 0.5s
=> [console bootstrap-build 3/8] ADD https://github.com/twbs/bootstrap/archive/v5.3.0.zip /src/bootstrap-5.3.0.zip 0.4s
=> CACHED [attacker 2/10] WORKDIR /home/attaquant 0.0s
=> CACHED [attacker 3/10] RUN adduser -D attaquant 0.0s
=> CANCELED [attacker 4/10] RUN apk add bash bind-tools curl ncurses-terminfo-base opendkim-libs 2.7s
=> CANCELED [console stage-1 2/9] RUN apk add bash bind bind-tools vim 2.7s
=> ERROR [recipient roundcube-build 2/7] RUN apk add composer php81-ctype php81-dom php81-ldap php81- 2.4s
=> [sender internal] load build context 0.2s
=> => transferring context: 2.15kB 0.1s
=> CACHED [sender 2/13] RUN adduser -D expediteur 0.0s
=> CANCELED [sender 3/13] RUN apk add bash execline nano nano-syntax opendkim opendkim-utils 2.7s
=> [dns internal] load build context 0.1s
=> => transferring context: 25.20kB 0.1s
=> CANCELED [dns 2/9] RUN apk add bash bind bind-tools execline nano nano-syntax openssl 2.6s
=> CACHED [recipient stage-1 2/22] COPY var/db/public_suffix_list.dat /var/db/public_suffix_list.dat 0.0s
=> CANCELED [recipient stage-1 3/22] RUN apk add apache2 composer dovecot execline mutt nano 2.4s
=> [frontend internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [frontend internal] load build context 0.0s
=> => transferring context: 32B 0.0s
=> [frontend 1/2] FROM docker.io/library/nginx:latest@sha256:67682bda769fae1ccf5183192b8daf37b64cae99c6c3302650f6f8bf 0.0s
=> CACHED [frontend 2/2] COPY nginx.conf /etc/nginx/nginx.conf 0.0s
=> [frontend] exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:0bba2811d30ba02595407bcf6329cb1410aacafe8e78c7209140e7318f9b8cc3 0.0s
=> => naming to docker.io/spf-dkim-dmarc-workshop/frontend 0.0s
=> CACHED [console bootstrap-build 2/8] RUN mkdir /target 0.0s
=> CACHED [console bootstrap-build 3/8] ADD https://github.com/twbs/bootstrap/archive/v5.3.0.zip /src/bootstrap-5.3.0 0.0s
=> [console bootstrap-build 4/8] RUN apk add sassc 2.2s
------
> [recipient roundcube-build 2/7] RUN apk add composer php81-ctype php81-dom php81-ldap php81-tokenizer php81-xml php81-xmlwriter:
0.745 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
0.995 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
2.120 ERROR: unable to select packages:
2.131 php81-ctype (no such package):
2.131 required by: world[php81-ctype]
2.131 php81-dom (no such package):
2.131 required by: world[php81-dom]
2.131 php81-ldap (no such package):
2.131 required by: world[php81-ldap]
2.131 php81-tokenizer (no such package):
2.131 required by: world[php81-tokenizer]
2.131 php81-xml (no such package):
2.131 required by: world[php81-xml]
2.131 php81-xmlwriter (no such package):
2.131 required by: world[php81-xmlwriter]
------
failed to solve: process "/bin/sh -c apk add composer php81-ctype php81-dom php81-ldap php81-tokenizer php81-xml php81-xmlwriter" did not complete successfully: exit code: 6