From e3e70b3443e4f06f7f76dce77a458fd1b21c4ef3 Mon Sep 17 00:00:00 2001 From: whyour Date: Wed, 23 Aug 2023 21:16:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8B=89=E5=8F=96=E7=A7=81?= =?UTF-8?q?=E6=9C=89=E4=BB=93=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/Dockerfile | 1 + shell/start.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index de394310..7b5cd9bf 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -39,6 +39,7 @@ RUN set -x && \ tzdata \ perl \ openssl \ + openssh-client \ nginx \ jq \ procps \ diff --git a/shell/start.sh b/shell/start.sh index 7ad43e90..00729f49 100644 --- a/shell/start.sh +++ b/shell/start.sh @@ -47,10 +47,10 @@ if [[ $os_name == 'alpine' ]]; then netcat-openbsd elif [[ $os_name == 'debian' ]] || [[ $os_name == 'ubuntu' ]]; then 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 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 echo -e "暂不支持此系统部署 $os_name" exit 1