diff options
author | Sven Dowideit <[email protected]> | 2016-01-04 17:27:21 +1000 |
---|---|---|
committer | Steve Francia <[email protected]> | 2016-01-04 12:47:23 -0500 |
commit | 7bc5d3663fc0fdb87bb21235fe3b3cc534129ce1 (patch) | |
tree | ae11620a906b053767eb8806ed9a5995175a388e /Makefile | |
parent | bc48b4606ab436a17f663249482c41704d8b57c0 (diff) | |
download | hugo-7bc5d3663fc0fdb87bb21235fe3b3cc534129ce1.tar.gz hugo-7bc5d3663fc0fdb87bb21235fe3b3cc534129ce1.zip |
Use a Docker container to build hugo
Signed-off-by: Sven Dowideit <[email protected]>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -25,3 +25,9 @@ install-gitinfo: no-git-info: go build -o hugo main.go +docker: + docker build -t hugo . + docker rm -f hugo-build || true + docker run --name hugo-build hugo ls /go/bin + docker cp hugo-build:/go/bin/hugo . + docker rm hugo-build |