2 Star 3 Fork 2

毕升Office / api-deploy-arm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
init.sh 535 Bytes
一键复制 编辑 原始数据 按行查看 历史
xiedan 提交于 2020-04-21 13:45 . 更新文档
#!/usr/bin/env bash
if [ ! -n "$1" ] ;then
echo "初始化类型"
exit
fi
if [ ! -n "$2" ] ;then
echo "必须指定容器标签"
exit
fi
if [ ! -n "$3" ] ;then
echo "指定安装目录"
exit
fi
docker rm tools -f 1 > /dev/null 2>&1
docker pull registry.cn-zhangjiakou.aliyuncs.com/bisheng/tools_arm:$2
docker run --name tools --privileged \
-v $3:/workspace \
-e RUN_ENV=docker \
-e type=$1 \
-e args=$4 \
--net=bisheng \
registry.cn-zhangjiakou.aliyuncs.com/bisheng/tools_arm:$2
1
https://gitee.com/ibisheng/api-deploy-arm.git
git@gitee.com:ibisheng/api-deploy-arm.git
ibisheng
api-deploy-arm
api-deploy-arm
v3

搜索帮助