Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
ef77ce71
Commit
ef77ce71
authored
Jan 22, 2016
by
Zach Loafman
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #19985 from luxas/onedotfive
Up to golang 1.5.3
parents
a5f4f3b3
d26f4e15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
Dockerfile
build/build-image/cross/Dockerfile
+5
-3
No files found.
build/build-image/cross/Dockerfile
View file @
ef77ce71
...
...
@@ -15,15 +15,17 @@
# This file creates a standard build environment for building cross
# platform go binary for the architecture kubernetes cares about.
FROM
golang:1.4.2
MAINTAINER
Joe Beda <jbeda@google.com>
FROM
golang:1.5.3
# Original MAINTAINER Joe Beda <jbeda@google.com>
MAINTAINER
Brendan Burns <bburns@google.com>
ENV
KUBE_CROSSPLATFORMS \
linux/386 linux/arm \
darwin/amd64 darwin/386 \
windows/amd64 windows/386
RUN
cd
/usr/src/go/src
&&
for
platform
in
${
KUBE_CROSSPLATFORMS
}
;
do
GOOS
=
${
platform
%/*
}
GOARCH
=
${
platform
##*/
}
./make.bash
--no-clean
;
done
# Pre-compile the standard go library when cross-compiling. This is much easier now when we have go1.5
RUN for
platform
in
${
KUBE_CROSSPLATFORMS
}
;
do
GOOS
=
${
platform
%/*
}
GOARCH
=
${
platform
##*/
}
go
install
std
;
done
# Install g++, then download and install protoc for generating protobuf output
RUN
apt-get
install
-y
g++
&&
apt-get clean
&&
rm
-rf
/var/lib/apt/lists/
*
&&
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment