mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Merge pull request #7948 from pmorie/kubelet-image
Ease building kubelet image
This commit is contained in:
commit
3c184fa5ef
@ -5,13 +5,16 @@
|
||||
# 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/linux/amd64/kubelet
|
||||
curl -O https://storage.googleapis.com/kubernetes-release/release/${VERSION}/${BIN_DIR}/kubelet
|
||||
docker build -t gcr.io/google_containers/kubelet:${VERSION} .
|
||||
gcloud preview docker push gcr.io/google_containers/kubelet:${VERSION}
|
||||
|
||||
local:
|
||||
local: clean
|
||||
cp ${LOCAL_OUTPUT_DIR}/${BIN_DIR}/kubelet .
|
||||
docker build -t gcr.io/google_containers/kubelet .
|
||||
|
||||
clean:
|
||||
|
Loading…
Reference in New Issue
Block a user