Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save victorhsanjos/3ddbf197a74ae3beb5d8c4d4c622e3af to your computer and use it in GitHub Desktop.
Save victorhsanjos/3ddbf197a74ae3beb5d8c4d4c622e3af to your computer and use it in GitHub Desktop.
➜ laradock git:(master) ✗ sudo docker-compose up -d nginx
Building nginx
Step 1/11 : FROM nginx:alpine
---> 91ce6206f9d8
Step 2/11 : LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
---> Using cache
---> 82ab7a37e903
Step 3/11 : ADD nginx.conf /etc/nginx/
---> Using cache
---> b21ec061f7cb
Step 4/11 : ARG CHANGE_SOURCE=false
---> Using cache
---> 5884feb0f1db
Step 5/11 : RUN if [ ${CHANGE_SOURCE} = true ]; then sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/' /etc/apk/repositories ;fi
---> Using cache
---> 112c9d0d4dd5
Step 6/11 : RUN apk update && apk upgrade && apk add --no-cache bash && adduser -D -H -u 1000 -s /bin/bash www-data
---> Running in e5090fba843a
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.7/main: temporary error (try again later)
WARNING: Ignoring APKINDEX.70c88391.tar.gz: No such file or directory
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.7/community: temporary error (try again later)
WARNING: Ignoring APKINDEX.5022a8a2.tar.gz: No such file or directory
2 errors; 28 distinct packages available
ERROR: Service 'nginx' failed to build: The command '/bin/sh -c apk update && apk upgrade && apk add --no-cache bash && adduser -D -H -u 1000 -s /bin/bash www-data' returned a non-zero code: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment