mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
Merge pull request #16655 from ZJU-SEL/patch-makefile
Auto commit by PR queue bot
This commit is contained in:
commit
449d467d36
@ -1,23 +0,0 @@
|
|||||||
# 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