Skip to content

Commit f6dc8f6

Browse files
committed
go 1.6.0
1 parent 96a2175 commit f6dc8f6

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

build/build-image/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# This file creates a standard build environment for building Kubernetes
16-
FROM gcr.io/google_containers/kube-cross:KUBE_BUILD_IMAGE_CROSS_TAG
16+
FROM gcr.io/groovy-sentry-504/kube-cross:KUBE_BUILD_IMAGE_CROSS_TAG
1717

1818
# Mark this as a kube-build container
1919
RUN touch /kube-build-image

build/build-image/cross/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# This file creates a standard build environment for building cross
1616
# platform go binary for the architecture kubernetes cares about.
1717

18-
FROM golang:1.4.2
18+
FROM golang:1.6.0
1919

2020
ENV GOARM 6
2121
ENV KUBE_DYNAMIC_CROSSPLATFORMS \
@@ -27,8 +27,8 @@ ENV KUBE_CROSSPLATFORMS \
2727
darwin/amd64 darwin/386 \
2828
windows/amd64 windows/386
2929

30-
RUN cd /usr/src/go/src \
31-
&& for platform in ${KUBE_CROSSPLATFORMS}; do GOOS=${platform%/*} GOARCH=${platform##*/} ./make.bash --no-clean; done
30+
# Pre-compile the standard go library when cross-compiling. This is much easier now when we have go1.5
31+
RUN for platform in ${KUBE_CROSSPLATFORMS}; do GOOS=${platform%/*} GOARCH=${platform##*/} go install std; done
3232

3333
# Install g++, then download and install protoc for generating protobuf output
3434
RUN apt-get update \

build/build-image/cross/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ IMAGE = kube-cross
1818
TAG = $(shell cat VERSION)
1919

2020
build:
21-
docker build -t gcr.io/google_containers/$(IMAGE):$(TAG) .
21+
docker build -t gcr.io/groovy-sentry-504/$(IMAGE):$(TAG) .
2222

2323
push: build
24-
gcloud docker --server=gcr.io push gcr.io/google_containers/$(IMAGE):$(TAG)
24+
gcloud docker --server=gcr.io push gcr.io/groovy-sentry-504/$(IMAGE):$(TAG)
2525

2626
all: push

build/build-image/cross/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.4.2-1
1+
v1.6.0-1

build/common.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ readonly KUBE_GCS_DELETE_EXISTING="${KUBE_GCS_DELETE_EXISTING:-n}"
4848

4949
# Constants
5050
readonly KUBE_BUILD_IMAGE_REPO=kube-build
51-
readonly KUBE_BUILD_IMAGE_CROSS_TAG="v1.4.2-1"
51+
readonly KUBE_BUILD_IMAGE_CROSS_TAG="v1.6.0-1"
5252
# KUBE_BUILD_DATA_CONTAINER_NAME=kube-build-data-<hash>"
5353

5454
# Here we map the output directories across both the local and remote _output

0 commit comments

Comments
 (0)