1
0
mirror of https://github.com/rancher/os.git synced 2025-09-17 23:48:09 +00:00

Make godep executable configurable in Makefile.docker

This commit is contained in:
Darren Shepherd
2015-09-24 23:16:48 -07:00
parent cbf8aac002
commit 9be3f1ef78

View File

@@ -1,11 +1,12 @@
include build.conf
FORCE_PULL := 0
DEV_BUILD := 0
GODEP := godep
bin/rancheros:
mkdir -p $(dir $@)
godep go build -tags netgo -installsuffix netgo -ldflags "-X github.com/rancherio/os/config.VERSION $(VERSION) -linkmode external -extldflags -static" -o $@
$(GODEP) go build -tags netgo -installsuffix netgo -ldflags "-X github.com/rancherio/os/config.VERSION $(VERSION) -linkmode external -extldflags -static" -o $@
strip --strip-all $@