GithubHelp home page GithubHelp logo

Comments (5)

vvbbnn00 avatar vvbbnn00 commented on May 24, 2024

是在本地还是服务器编译的?海外服务器的话试试把这段删掉编译

RUN if [ "$GITHUB_ACTIONS" != "true" ]; then \
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories; \
fi

from warp-clash-api.

moeinrahimi avatar moeinrahimi commented on May 24, 2024

yes it is located on digital ocean in europe.
am I doing it correctly?
it still throws error like before
image

from warp-clash-api.

vvbbnn00 avatar vvbbnn00 commented on May 24, 2024

It seems that there is no problem with the configuration.
Looking at the error log you provided the first time,

=> ERROR [warp-clash 4/8] RUN apk add --no-cache bash build-base libffi-dev openssl-dev 12.1s
[warp-clash 4/8] RUN apk add --no-cache bash build-base libffi-dev openssl-dev:
#0 1.999 fetch https://mirrors.aliyun.com/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
#0 7.011 fetch https://mirrors.aliyun.com/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
#0 7.014 WARNING: fetching https://mirrors.aliyun.com/alpine/v3.19/main: temporary error (try again later)
#0 12.02 WARNING: fetching https://mirrors.aliyun.com/alpine/v3.19/community: temporary error (try again later)
#0 12.02 ERROR: unable to select packages:
#0 12.02 bash (no such package):
#0 12.02 required by: world[bash]
#0 12.02 build-base (no such package):
#0 12.02 required by: world[build-base]
#0 12.02 libffi-dev (no such package):
#0 12.02 required by: world[libffi-dev]
#0 12.02 openssl-dev (no such package):
#0 12.02 required by: world[openssl-dev]
failed to solve: process "/bin/sh -c apk add --no-cache bash build-base libffi-dev openssl-dev" did not complete successfully: exit code: 4

it seems that the problem was due to network issues that prevented the software package from being obtained. In theory, the same problem should not occur again.
If the problem still exists, could you please provide the log again? Thank you.

from warp-clash-api.

moeinrahimi avatar moeinrahimi commented on May 24, 2024

I tried with both scenarios github_action being commented or not either way it throws error.
i'm getting my vps from oracle cloud an it is located in netherland. I can confirm using curl I have access to outside world.
image
image

from warp-clash-api.

vvbbnn00 avatar vvbbnn00 commented on May 24, 2024

According to gliderlabs/docker-alpine#334

The problem might be related to network issues within the Docker container, such as DNS resolution. You can try configuring the DNS settings for Docker containers by editing the /etc/docker/daemon.json file.

from warp-clash-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.