We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d55360e commit ad5f75eCopy full SHA for ad5f75e
build/build-all-by-docker.sh
@@ -26,9 +26,13 @@ buildByDocker() {
26
sed -i -e "s;://[^/ ]*;://mirrors.aliyun.com;" /etc/apt/sources.list;
27
apt-get update;
28
apt-get install -yq git zip;
29
+ elif [ -e /etc/apt/sources.list.d/debian.sources ]; then
30
+ sed -i -e "s;://[^/ ]*;://mirrors.aliyun.com;" /etc/apt/sources.list.d/debian.sources;
31
+ apt-get update;
32
+ apt-get install -yq git zip;
33
elif [ -e /etc/apk/repositories ]; then
- sed -i "s;://[^/ ]*;://mirrors.aliyun.com;" /etc/apk/repositories
- apk add bash git zip
34
+ sed -i "s;://[^/ ]*;://mirrors.aliyun.com;" /etc/apk/repositories;
35
+ apk add bash git zip;
36
fi
37
git config --global safe.directory "*"
38
/bin/bash '"$ghfs"'/build/build.sh "$@";
0 commit comments