Open ramblr99 opened 5 months ago
When I try to build docker image I get following error:
sudo docker compose build base-image [+] Building 11.6s (6/9) => [base-image internal] load build definition from base.Dockerfile 0.0s => => transferring dockerfile: 496B 0.0s => [base-image internal] load .dockerignore 0.0s => => transferring context: 222B 0.0s => [base-image internal] load metadata for docker.io/library/python:3.11-alpine 0.8s => CACHED [base-image 1/5] FROM docker.io/library/python:3.11-alpine@sha256:2c0e25da660a20c1e99ccd091a3fdda4c6e3525d91fe5306d89cc24b54fc6b95 0.0s => [base-image internal] load build context 0.0s => => transferring context: 84B 0.0s => ERROR [base-image 2/5] RUN apk add --no-cache tzdata htop bash libstdc++ 10.7s ------ > [base-image 2/5] RUN apk add --no-cache tzdata htop bash libstdc++: 0.619 fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz 5.622 WARNING: fetching https://dl-cdn.alpinelinux.org/alpine/v3.19/main: temporary error (try again later) 5.623 fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz 10.63 WARNING: fetching https://dl-cdn.alpinelinux.org/alpine/v3.19/community: temporary error (try again later) 10.63 ERROR: unable to select packages: 10.63 bash (no such package): 10.63 required by: world[bash] 10.63 htop (no such package): 10.63 required by: world[htop] 10.63 libstdc++ (no such package): 10.63 required by: world[libstdc++] ------ failed to solve: process "/bin/sh -c apk add --no-cache tzdata htop bash libstdc++" did not complete successfully: exit code: 3
How can I solve this?
Just try again
When I try to build docker image I get following error:
How can I solve this?