-
Notifications
You must be signed in to change notification settings - Fork 22
New Release setup failed due to file does not exist #1
Comments
We have looked into the log file and it seems to be an issue with the proxy. We would suggest you to confirm if you had set the proxy correctly and proceed and let us know if you continue to face the issue. Also we would suggest you to set the proxy for docker and also set gitproxy . for setting up gitproxy - git config –global http.proxy http://10.224.224.80:911 For setting up docker proxy - you can take reference from below mentioned link- https://www.serverlab.ca/tutorials/containers/docker/how-to-set-the-proxy-for-docker-on-ubuntu/ |
Thanks for your help. I suppose this is "git config –global http.proxy ". But I have set the proxy from "inventory/default/group_vars/all/10-default.yml", proxy_env[http_proxy]. Could we improve the setup script to cover this part? or state in user guide for docker proxy if this is a necessary step. |
@darren-teoh your log shows: fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz the root cause is alpine 3.13 and above uses https://dl-cdn.alpinelinux.org as default repo url. but the apk command cannot work behind "our" company proxy. (it leads to fetch ERROR shown above) meanwhile alpine 3.12 uses http://dl-cdn.alpinelinux.org (NOT https) as default repo url, it works well with the company proxy. gliderlabs/docker-alpine#184 described this alpine change issue. So workaround idea 1: use alpine 3.12 instead of 3.14 workaround idea 2: modify the alpine docker image /etc/apk/repositories file, change https to http, and save the image as alpine:latest, and retry. i didn't really fully verified it. workaround idea 3: use an alpine mirror download site that seems more friendly to apk + company proxy. i found such a china mirror site, i made a patch here, and verified: |
Kindly refer to builder.log attached,
builder.log
Step 5/12 : COPY files/conf/ /opt/core/conf/
COPY failed: file not found in build context or excluded by .dockerignore: stat files/conf/: file does not exist
Steps:
The text was updated successfully, but these errors were encountered: