aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 169e40b..0860814 100644
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,13 @@ all: gobottin
gobottin: main.go ssha.go util.go acl.go read.go write.go
go get -d -v
- CGO_ENABLED=0 GOOS=linux go build -a -v
+ go build -v
-docker: all
+gobottin.static: main.go ssha.go util.go acl.go read.go write.go
+ go get -d -v
+ CGO_ENABLED=0 GOOS=linux go build -a -v -o gobottin.static
+
+docker: gobottin.static
docker build -t lxpz/gobottin_amd64:$(TAG) .
docker push lxpz/gobottin_amd64:$(TAG)
docker tag lxpz/gobottin_amd64:$(TAG) lxpz/gobottin_amd64:latest