60 Star 313 Fork 103

毕升Office / 毕升Office一键部署

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
init.sh 527 Bytes
一键复制 编辑 原始数据 按行查看 历史
dan 提交于 2019-12-17 21:41 . change tags
#!/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:$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:$2
Shell
1
https://gitee.com/ibisheng/deploy.git
git@gitee.com:ibisheng/deploy.git
ibisheng
deploy
毕升Office一键部署
v3

搜索帮助