修复拉取私有仓库

This commit is contained in:
whyour
2026-03-01 20:36:41 +08:00
parent 38bce51ee7
commit 2a3223fbe7
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -39,6 +39,7 @@ RUN set -x && \
tzdata \ tzdata \
perl \ perl \
openssl \ openssl \
openssh-client \
jq \ jq \
procps \ procps \
netcat \ netcat \
+2 -2
View File
@@ -47,10 +47,10 @@ if [[ $os_name == 'alpine' ]]; then
netcat-openbsd netcat-openbsd
elif [[ $os_name == 'debian' ]] || [[ $os_name == 'ubuntu' ]]; then elif [[ $os_name == 'debian' ]] || [[ $os_name == 'ubuntu' ]]; then
apt update apt update
apt install -y git curl wget tzdata perl openssl jq nginx procps netcat apt install -y git curl wget tzdata perl openssl jq nginx procps netcat openssh-client
elif [[ $os_name == 'centos' ]]; then elif [[ $os_name == 'centos' ]]; then
yum update yum update
yum install -y epel-release git curl wget tzdata perl openssl jq nginx procps netcat yum install -y epel-release git curl wget tzdata perl openssl jq nginx procps netcat openssh-client
else else
echo -e "暂不支持此系统部署 $os_name" echo -e "暂不支持此系统部署 $os_name"
exit 1 exit 1