mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 14:11:14 +00:00
Add a docker image for the hyperkube binary.
This commit is contained in:
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
|
Reference in New Issue
Block a user