Open enghamid opened 4 years ago
it is probably the network problems
please retry from the master branch, it is based on debian now instead of alpine
it is probably the network problems
please retry from the master branch, it is based on debian now instead of alpine
[root@kai mtprotoproxy]# curl -v -s http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz > /dev/null
* Trying 151.101.12.249...
* TCP_NODELAY set
* Connected to dl-cdn.alpinelinux.org (151.101.12.249) port 80 (#0)
> GET /alpine/v3.10/community/x86_64/APKINDEX.tar.gz HTTP/1.1
> Host: dl-cdn.alpinelinux.org
> User-Agent: curl/7.61.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx
< Content-Type: application/octet-stream
< Last-Modified: Mon, 02 Mar 2020 12:37:23 GMT
< ETag: "5e5cfe03-a24b5"
< Strict-Transport-Security: max-age=31536000
< X-Frame-Options: DENY
< X-Content-Type-Options: nosniff
< Via: 1.1 varnish
< Content-Length: 664757
< Accept-Ranges: bytes
< Date: Mon, 02 Mar 2020 14:49:22 GMT
< Via: 1.1 varnish
< Age: 5
< Connection: keep-alive
< X-Served-By: cache-jfk8120-JFK, cache-fra19143-FRA
< X-Cache: HIT, HIT
< X-Cache-Hits: 1, 1
< X-Timer: S1583160563.729824,VS0,VE84
<
{ [2848 bytes data]
* Connection #0 to host dl-cdn.alpinelinux.org left intact
so, how can I use docker master branch? I am a beginner to Docker's use In the following I use centos8.
git checkout master
[root@kai mtprotoproxy]# docker-compose up -d
Building mtprotoproxy Step 1/9 : FROM alpine:3.10 ---> af341ccd2df8 Step 2/9 : RUN adduser tgproxy -u 10000 -D ---> Running in 7f2c79f1ac00 Removing intermediate container 7f2c79f1ac00 ---> f394f643b8e4 Step 3/9 : RUN apk add --no-cache python3 py3-cryptography ca-certificates libcap ---> Running in 762953aefa44 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz: temporary error (try again later) WARNING: Ignoring http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz: temporary error (try again later) ERROR: unsatisfiable constraints: ca-certificates (missing): required by: world[ca-certificates] libcap (missing): required by: world[libcap] py3-cryptography (missing): required by: world[py3-cryptography] python3 (missing): required by: world[python3] ERROR: Service 'mtprotoproxy' failed to build: The command '/bin/sh -c apk add --no-cache python3 py3-cryptography ca-certificates libcap' returned a non-zero code: 4