Closed ewanlee closed 7 years ago
when I run sudo docker-compose build --no-cache, it shows:
sudo docker-compose build --no-cache
Step 3/6 : RUN apk add --update curl && rm -rf /var/cache/apk/ ---> Running in 1aebdd96abb3 fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.4/main: temporary error (try again later) WARNING: Ignoring APKINDEX.167438ca.tar.gz: No such file or directory fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.4/community: temporary error (try again later) WARNING: Ignoring APKINDEX.a2e6dac0.tar.gz: No such file or directory ERROR: unsatisfiable constraints: curl (missing): required by: world[curl] ERROR: Service 'discovery-microservice' failed to build: The command '/bin/sh -c apk add --update curl && rm -rf /var/cache/apk/' returned a non-zero code: 1
when I run
sudo docker-compose build --no-cache
, it shows:Step 3/6 : RUN apk add --update curl && rm -rf /var/cache/apk/ ---> Running in 1aebdd96abb3 fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.4/main: temporary error (try again later) WARNING: Ignoring APKINDEX.167438ca.tar.gz: No such file or directory fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.4/community: temporary error (try again later) WARNING: Ignoring APKINDEX.a2e6dac0.tar.gz: No such file or directory ERROR: unsatisfiable constraints: curl (missing): required by: world[curl] ERROR: Service 'discovery-microservice' failed to build: The command '/bin/sh -c apk add --update curl && rm -rf /var/cache/apk/' returned a non-zero code: 1