Browse Source

update

main
有安科技 1 month ago
parent
commit
857ef2b489
  1. 2
      docker/readme.txt
  2. 7
      docker/uuwaf.sh
  3. BIN
      docs/waf.tgz

2
docker/readme.txt

@ -1,5 +1,5 @@
环境要求: 环境要求:
docker版本1.20以上 Docker 20.10.14 版本以上,Docker Compose 2.0.0 版本以上
解压南墙安装包: 解压南墙安装包:
tar -zxf waf.tgz && cd waf tar -zxf waf.tgz && cd waf

7
docker/uuwaf.sh

@ -16,7 +16,7 @@ fi
if [ ! $(command -v docker) ]; then if [ ! $(command -v docker) ]; then
curl -sSLk https://get.docker.com/ | bash curl -sSLk https://get.docker.com/ | bash
if [ $? -ne "0" ]; then if [ $? -ne "0" ]; then
abort "自动安装Docker运行环境失败,请按照https://docs.docker.com/engine/install/指引手工安装Docker" abort "安装官方Docker运行环境失败,请参考https://help.aliyun.com/zh/ecs/use-cases/install-and-use-docker-on-a-linux-ecs-instance手工安装后再执行本脚本"
fi fi
systemctl start docker && systemctl enable docker systemctl start docker && systemctl enable docker
fi fi
@ -24,10 +24,7 @@ fi
DC_CMD="docker compose" DC_CMD="docker compose"
$DC_CMD version > /dev/null 2>&1 $DC_CMD version > /dev/null 2>&1
if [ $? -ne "0" ]; then if [ $? -ne "0" ]; then
DC_CMD="docker-compose" abort "你的Docker版本过低,缺少docker compose命令,请卸载后安装最新版本"
if [ ! $(command -v docker-compose) ]; then
abort "未发现docker compose命令,请安装Docker Compose插件"
fi
fi fi
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

BIN
docs/waf.tgz

Binary file not shown.
Loading…
Cancel
Save