mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 03:03:59 +00:00
Revert "Delete Makefile as it is useless"
This reverts commit 8bf5a50439
.
This commit is contained in:
parent
6983f75ef7
commit
0ac50b4ba6
23
cluster/images/kubelet/Makefile
Normal file
23
cluster/images/kubelet/Makefile
Normal 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
|
Loading…
Reference in New Issue
Block a user