-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
raushan kumar
committed
Oct 21, 2019
1 parent
7e10801
commit fddc9ba
Showing
3 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ | |
|
||
# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 | ||
.glide/ | ||
**/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
# Image URL to use all building/pushing image targets | ||
IMG ?= raushan2016/etcdexplore | ||
|
||
# Build manager binary | ||
manager: | ||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o bin/etcdexplore lucas.go | ||
|
||
# Run against the configured Kubernetes cluster in ~/.kube/config | ||
run: | ||
go run ./main.go | ||
|
||
docker-all: docker-build docker-push | ||
|
||
# Build the docker image | ||
docker-build: | ||
docker build . -t ${IMG} | ||
|
||
# Push the docker image | ||
docker-push: | ||
docker push ${IMG} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters