SpiderClub / haipproxy

:sparkling_heart: High available distributed ip proxy pool, powerd by Scrapy and Redis
https://spiderclub.github.io/haipproxy/
MIT License
5.43k stars 914 forks source link

docker 执行 docker-compose up 报错 RUN apk upgrade --no-cache #122

Open nankaimy opened 2 years ago

nankaimy commented 2 years ago

=> [2/7] RUN echo -e "https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.7/main/\nhttps://mirrors.tuna.tsinghua.edu. 1.6s => ERROR [3/7] RUN apk upgrade --no-cache && apk add --no-cache squid libxml2-dev libxml2 libxslt-dev 0.9s

[3/7] RUN apk upgrade --no-cache && apk add --no-cache squid libxml2-dev libxml2 libxslt-dev libxslt libffi-dev python3-dev && rm -rf /var/cache/ && rm -rf /root/.cache/:

7 0.679 fetch https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.7/main/x86_64/APKINDEX.tar.gz

7 0.740 140373535435724:error:14007086:SSL routines:CONNECT_CR_CERT:certificate verify failed:ssl_clnt.c:1026:

7 0.741 WARNING: Ignoring https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.7/main/x86_64/APKINDEX.tar.gz: Permission denied

7 0.741 fetch https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.7/community/x86_64/APKINDEX.tar.gz

7 0.774 140373535435724:error:14007086:SSL routines:CONNECT_CR_CERT:certificate verify failed:ssl_clnt.c:1026:

7 0.774 WARNING: Ignoring https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.7/community/x86_64/APKINDEX.tar.gz: Permission denied

7 0.782 OK: 273 MiB in 55 packages

7 0.797 fetch https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.7/main/x86_64/APKINDEX.tar.gz

7 0.829 139900340419532:error:14007086:SSL routines:CONNECT_CR_CERT:certificate verify failed:ssl_clnt.c:1026:

7 0.830 WARNING: Ignoring https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.7/main/x86_64/APKINDEX.tar.gz: Permission denied

7 0.830 fetch https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.7/community/x86_64/APKINDEX.tar.gz

7 0.861 139900340419532:error:14007086:SSL routines:CONNECT_CR_CERT:certificate verify failed:ssl_clnt.c:1026:

7 0.862 WARNING: Ignoring https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.7/community/x86_64/APKINDEX.tar.gz: Permission denied

7 0.862 ERROR: unsatisfiable constraints:

7 0.866 libffi-dev (missing):

7 0.866 required by: world[libffi-dev]

7 0.866 libxml2 (missing):

7 0.866 required by: world[libxml2]

7 0.866 libxml2-dev (missing):

7 0.866 required by: world[libxml2-dev]

7 0.866 libxslt (missing):

7 0.866 required by: world[libxslt]

7 0.866 libxslt-dev (missing):

7 0.866 required by: world[libxslt-dev]

7 0.866 squid (missing):

7 0.866 required by: world[squid]


executor failed running [/bin/sh -c apk upgrade --no-cache && apk add --no-cache squid libxml2-dev libxml2 libxslt-dev libxslt libffi-dev python3-dev && rm -rf /var/cache/ && rm -rf /root/.cache/]: exit code: 6 ERROR: Service 'haipproxy' failed to build : Build failed

请教怎么修改呀

MTKSHU commented 2 years ago

change https:// to http:// at line 7 in Dockerfile.