mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 02:34:03 +00:00
Add a docker image for the hyperkube binary.
This commit is contained in:
parent
ab13d64255
commit
ee9591e25d
4
cluster/images/hyperkube/Dockerfile
Normal file
4
cluster/images/hyperkube/Dockerfile
Normal file
@ -0,0 +1,4 @@
|
||||
FROM google/debian:wheezy
|
||||
|
||||
COPY hyperkube /hyperkube
|
||||
|
10
cluster/images/hyperkube/Makefile
Normal file
10
cluster/images/hyperkube/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
# build the hyperkube image.
|
||||
|
||||
VERSION=dev
|
||||
|
||||
all:
|
||||
cp ../../../_output/release-stage/server/linux-amd64/kubernetes/server/bin/hyperkube ./
|
||||
docker build -t gcr.io/google_containers/hyperkube:${VERSION} .
|
||||
gcloud preview docker push gcr.io/google_containers/hyperkube:${VERSION}
|
||||
|
||||
.PHONY: all
|
Loading…
Reference in New Issue
Block a user