venkataravuri / e-commerce-microservices-sample

A fictitious cloud-native e-commerce application using microservices architecture powered by polyglot languages & databases, deployable to Kubernetes & AWS
252 stars 174 forks source link

docker-compose build error #2

Closed ewanlee closed 7 years ago

ewanlee commented 7 years ago

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