k3s/test/images/network-tester/Makefile

17 lines
404 B
Makefile
Raw Normal View History

2014-11-22 01:05:27 +00:00
all: push
# Set this to the *next* version to prevent accidentally overwriting the existing image.
2015-07-10 00:49:45 +00:00
TAG = 1.6
2014-11-22 01:05:27 +00:00
webserver: webserver.go
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-w' ./webserver.go
2014-11-22 01:05:27 +00:00
container: webserver
2015-04-01 00:39:53 +00:00
docker build -t gcr.io/google_containers/nettest:$(TAG) .
2014-11-22 01:05:27 +00:00
push: container
2015-06-18 19:18:53 +00:00
gcloud docker push gcr.io/google_containers/nettest:$(TAG)
2014-11-22 01:05:27 +00:00
clean:
rm -f webserver