diff options
author | Chris Manghane <cmang@golang.org> | 2014-10-09 14:04:49 -0700 |
---|---|---|
committer | Chris Manghane <cmang@golang.org> | 2014-10-09 14:04:49 -0700 |
commit | cced8d21ddff0072338da11d7de4f37958662dba (patch) | |
tree | 3a02b46a2fa2abcf5573d35defe4e38c198ac9d8 /dashboard/env/linux-x86-gccgo/Dockerfile | |
parent | 2f1c768885116676fbf6188c7a4b41ac3bd382cb (diff) | |
download | tools-cced8d21ddff0072338da11d7de4f37958662dba.tar.gz |
dashboard: add 32-bit gccgo builder; improve performance of gccgo builds on docker
This change adds a 32-bit builder for gccgo and fixes some specific
configuration problems with the docker image/coordinator to speed up builds.
The go builder running on the linux-x86-gccgo image has been modified to run
`make -j16` when building to reduce build times from ~60 minutes to ~10 minutes
and the coordinator has been modified to run the command `make check-go -j16`
to reduce testsuite run times from ~30 minutes to ~10 minutes.
LGTM=bradfitz
R=bradfitz
CC=adg, golang-codereviews
https://golang.org/cl/151530043
Diffstat (limited to 'dashboard/env/linux-x86-gccgo/Dockerfile')
-rw-r--r-- | dashboard/env/linux-x86-gccgo/Dockerfile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dashboard/env/linux-x86-gccgo/Dockerfile b/dashboard/env/linux-x86-gccgo/Dockerfile index 4a0feac..2ccd0d9 100644 --- a/dashboard/env/linux-x86-gccgo/Dockerfile +++ b/dashboard/env/linux-x86-gccgo/Dockerfile @@ -2,9 +2,9 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -# gobuilders/linux-x86-gccgo for 64-bit gccgo. +# gobuilders/linux-x86-gccgo for 32- and 64-bit gccgo. -FROM gobuilders/linux-x86-base +FROM debian:wheezy MAINTAINER golang-dev <golang-dev@googlegroups.com> ENV DEBIAN_FRONTEND noninteractive @@ -14,3 +14,6 @@ RUN /scripts/install-apt-deps.sh ADD /scripts/install-gold.sh /scripts/ RUN /scripts/install-gold.sh + +ADD /scripts/install-gccgo-builder.sh /scripts/ +RUN /scripts/install-gccgo-builder.sh && test -f /usr/local/bin/builder
\ No newline at end of file |