1 Star 0 Fork 103

tjthink_git / onlyoffice一键部署

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
init.sh 509 Bytes
一键复制 编辑 原始数据 按行查看 历史
lencil 提交于 2019-10-17 11:37 . add exportImage.sh
#!/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 \
--net=bisheng \
registry.cn-zhangjiakou.aliyuncs.com/bisheng/tools:$2
Shell
1
https://gitee.com/java_svn/deploy.git
git@gitee.com:java_svn/deploy.git
java_svn
deploy
onlyoffice一键部署
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891