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:
@@ -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 $@
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user