forked from Deuxfleurs/bottin
15 lines
447 B
Makefile
15 lines
447 B
Makefile
all: bottin
|
|
|
|
bottin: main.go ssha.go util.go acl.go read.go write.go
|
|
go get -d -v
|
|
go build -v -o bottin
|
|
|
|
bottin.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 bottin.static
|
|
|
|
docker: bottin.static
|
|
docker build -t lxpz/bottin_amd64:$(TAG) .
|
|
docker push lxpz/bottin_amd64:$(TAG)
|
|
docker tag lxpz/bottin_amd64:$(TAG) lxpz/bottin_amd64:latest
|
|
docker push lxpz/bottin_amd64:latest
|