summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShashank Kumar Shankar <shashank.kumar.shankar@intel.com>2018-03-15 15:21:15 -0700
committerShashank Kumar Shankar <shashank.kumar.shankar@intel.com>2018-03-16 16:24:27 -0700
commit1f99187b2ec49a132bd82b40bc4cd02d79cbd416 (patch)
treebc8d9cabc08f75be66139b85f9561b1066c89dc3 /src
parentb1be54648978a1c858d2ce1e0701e0552c9296fe (diff)
Add Docker push to nexus support
This patch adds support to push built docker container to Nexus. Change-Id: I9c9d3c01c548c0d3dcfec70f299765f0221379dc Issue-ID: MUSIC-59 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/dkv/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dkv/Makefile b/src/dkv/Makefile
index 6eb2941..f540692 100644
--- a/src/dkv/Makefile
+++ b/src/dkv/Makefile
@@ -8,7 +8,7 @@ all: test build
deploy: test build
build: deps format
- go build -o $(GOPATH)/target/$(BINARY) -v main.go
+ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -tags netgo -ldflags '-w' -o $(GOPATH)/target/$(BINARY) -v main.go
clean:
go clean