Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nankaimy opened this issue Jan 29, 2022 · 1 comment
Open

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

nankaimy opened this issue Jan 29, 2022 · 1 comment

Comments

@nankaimy
Copy link

=> [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
Copy link

MTKSHU commented Apr 18, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants