forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add linux/arm to the list of server builds
- Loading branch information
1 parent
4692467
commit d2dbe56
Showing
7 changed files
with
35 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,27 @@ | ||
# build the hyperkube image. | ||
|
||
VERSION=v1.1.1 | ||
VERSION=v1.1.2 | ||
ARCH=amd64 | ||
BASEIMAGE=debian:jessie | ||
|
||
## Comment in for arm builds, must be run on an arm machine | ||
# ARCH=arm | ||
# need to escape '/' for the regexp below | ||
# BASEIMAGE=armbuild\\/debian:jessie | ||
|
||
all: | ||
cp ../../saltbase/salt/helpers/safe_format_and_mount . | ||
cp ../../saltbase/salt/generate-cert/make-ca-cert.sh . | ||
curl -O https://storage.googleapis.com/kubernetes-release/release/${VERSION}/bin/linux/amd64/hyperkube | ||
curl -O https://storage.googleapis.com/kubernetes-release/release/${VERSION}/bin/linux/${ARCH}/hyperkube | ||
sed -i "s/VERSION/${VERSION}/g" master-multi.json master.json | ||
docker build -t gcr.io/google_containers/hyperkube:${VERSION} . | ||
gcloud docker push gcr.io/google_containers/hyperkube:${VERSION} | ||
sed -i "s/ARCH/${ARCH}/g" master-multi.json master.json | ||
sed -i "s/BASEIMAGE/${BASEIMAGE}/g" Dockerfile | ||
docker build -t gcr.io/google_containers/hyperkube-${ARCH}:${VERSION} . | ||
gcloud docker push gcr.io/google_containers/hyperkube-${ARCH}:${VERSION} | ||
# Backward compatability. TODO: deprecate this image tag | ||
ifeq ($(ARCH),amd64) | ||
docker tag gcr.io/google_containers/hyperkube-${ARCH}:${VERSION} gcr.io/google_containers/hyperkube:${VERSION} | ||
gcloud docker push gcr.io/google_containers/hyperkube:${VERSION} | ||
endif | ||
|
||
.PHONY: all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters