1 Star 0 Fork 708

白开水的品味 / DocHub

forked from 进击的皇虫 / DocHub 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 433 Bytes
一键复制 编辑 原始数据 按行查看 历史
barnett 提交于 2018-06-12 11:36 . update dockefile
BUILD_HOME=/go/src/github.com/TruthHun/DocHub
IMAGE_NAME=truthhun/dochub
VERSION=1.0
.PHONY: build
build:
@docker build -t pdf2svg:builder ./build/Dockerfile
@docker run -it -v `pwd`/.output:/pdf2svg/.output --rm pdf2svg:builder
@docker run -it -v `pwd`:$(BUILD_HOME) -w $(BUILD_HOME) golang:1.8.3 go get && go build -ldflags '-w -s' -o .output/dochub
image: build
@docker build -t $(IMAGE_NAME):$(VERSION) .
@rm -rf .output
Go
1
https://gitee.com/rock7p/DocHub.git
git@gitee.com:rock7p/DocHub.git
rock7p
DocHub
DocHub
master

搜索帮助