From ee9591e25d7ff7a6242dcb65ade87ea85a2cbe79 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Fri, 3 Apr 2015 14:54:09 -0700 Subject: [PATCH] Add a docker image for the hyperkube binary. --- cluster/images/hyperkube/Dockerfile | 4 ++++ cluster/images/hyperkube/Makefile | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 cluster/images/hyperkube/Dockerfile create mode 100644 cluster/images/hyperkube/Makefile diff --git a/cluster/images/hyperkube/Dockerfile b/cluster/images/hyperkube/Dockerfile new file mode 100644 index 0000000000000..dbd3401ea7813 --- /dev/null +++ b/cluster/images/hyperkube/Dockerfile @@ -0,0 +1,4 @@ +FROM google/debian:wheezy + +COPY hyperkube /hyperkube + diff --git a/cluster/images/hyperkube/Makefile b/cluster/images/hyperkube/Makefile new file mode 100644 index 0000000000000..5a8fed70736a5 --- /dev/null +++ b/cluster/images/hyperkube/Makefile @@ -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