File tree 5 files changed +8
-8
lines changed
5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
15
15
# 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
17
17
18
18
# Mark this as a kube-build container
19
19
RUN touch /kube-build-image
Original file line number Diff line number Diff line change 15
15
# This file creates a standard build environment for building cross
16
16
# platform go binary for the architecture kubernetes cares about.
17
17
18
- FROM golang:1.4.2
18
+ FROM golang:1.6.0
19
19
20
20
ENV GOARM 6
21
21
ENV KUBE_DYNAMIC_CROSSPLATFORMS \
@@ -27,8 +27,8 @@ ENV KUBE_CROSSPLATFORMS \
27
27
darwin/amd64 darwin/386 \
28
28
windows/amd64 windows/386
29
29
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
32
32
33
33
# Install g++, then download and install protoc for generating protobuf output
34
34
RUN apt-get update \
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ IMAGE = kube-cross
18
18
TAG = $(shell cat VERSION)
19
19
20
20
build :
21
- docker build -t gcr.io/google_containers /$(IMAGE ) :$(TAG ) .
21
+ docker build -t gcr.io/groovy-sentry-504 /$(IMAGE ) :$(TAG ) .
22
22
23
23
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 )
25
25
26
26
all : push
Original file line number Diff line number Diff line change 1
- v1.4.2 -1
1
+ v1.6.0 -1
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ readonly KUBE_GCS_DELETE_EXISTING="${KUBE_GCS_DELETE_EXISTING:-n}"
48
48
49
49
# Constants
50
50
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"
52
52
# KUBE_BUILD_DATA_CONTAINER_NAME=kube-build-data-<hash>"
53
53
54
54
# Here we map the output directories across both the local and remote _output
You can’t perform that action at this time.
0 commit comments