1 Star 1 Fork 0

爱玲 / Empire

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.build.sh 359 Bytes
一键复制 编辑 原始数据 按行查看 历史
Alexander Rymdeko-Harvey 提交于 2017-12-19 23:03 . docker
#!/usr/bin/env bash
set -ex
# SET THE FOLLOWING VARIABLES
# docker hub username
USERNAME=empireproject
# image name
IMAGE=empire
# version
VERSION="$(curl -s https://raw.githubusercontent.com/EmpireProject/Empire/master/lib/common/empire.py | grep "VERSION =" | cut -d '"' -f2)"
docker build --build-arg empireversion="$VERSION" -t $USERNAME/$IMAGE:latest .
1
https://gitee.com/xiaoshen2017/Empire.git
git@gitee.com:xiaoshen2017/Empire.git
xiaoshen2017
Empire
Empire
master

搜索帮助