Files
kubernetes/cluster/addons/kube-ui/image/Makefile
2015-07-06 16:04:28 -07:00

24 lines
642 B
Makefile

# Makefile for the Docker image gcr.io/google_containers/kube-ui
# MAINTAINER: Tim St. Clair <stclair@google.com>
# If you update this image please check the tag value before pushing.
.PHONY: all container push clean
# Keep this at dev, so no one accidentally blows away the latest published version.
TAG = dev # current version: v1.1
PREFIX = gcr.io/google_containers
all: push
kube-ui: kube-ui.go
CGO_ENABLED=0 GOOS=linux godep go build -a -installsuffix cgo -ldflags '-w' ./kube-ui.go
container: kube-ui
docker build -t $(PREFIX)/kube-ui:$(TAG) .
push: container
gcloud docker push $(PREFIX)/kube-ui:$(TAG)
clean:
rm -f kube-ui