Revert "Delete Makefile as it is useless"

This reverts commit 8bf5a50439.
This commit is contained in:
Paul Morie 2015-11-07 14:19:22 -05:00
parent 6983f75ef7
commit 0ac50b4ba6

View File

@ -0,0 +1,23 @@
# build the kubelet image.
# TODO: figure out the best base image
# TODO: figure out how to best source the nsenter binary, if necessary
# TODO: figure out how to make a single source of version info for these
# images
VERSION=v0.16
BIN_DIR=bin/linux/amd64
LOCAL_OUTPUT_DIR=../../../_output/local
release: clean
curl -O https://storage.googleapis.com/kubernetes-release/release/${VERSION}/${BIN_DIR}/kubelet
docker build -t gcr.io/google_containers/kubelet:${VERSION} .
gcloud docker push gcr.io/google_containers/kubelet:${VERSION}
local: clean
cp ${LOCAL_OUTPUT_DIR}/${BIN_DIR}/kubelet .
docker build -t gcr.io/google_containers/kubelet .
clean:
rm -f kubelet
.PHONY: release