mirror of
https://github.com/golang/go
synced 2024-11-19 06:04:39 -07:00
51805171bd
Update golang/go#8382 LGTM=rsc R=adg, rsc CC=golang-codereviews https://golang.org/cl/150090044
18 lines
672 B
Bash
Executable File
18 lines
672 B
Bash
Executable File
set -ex
|
|
|
|
apt-get update
|
|
# For running curl to get the hg starter tarballs (faster than hg clone).
|
|
apt-get install -y --no-install-recommends curl ca-certificates
|
|
# Optionally used by some net/http tests:
|
|
apt-get install -y --no-install-recommends strace
|
|
# For building Go's bootstrap 'dist' prog
|
|
apt-get install -y --no-install-recommends gcc libc6-dev
|
|
# For 32-bit builds:
|
|
# TODO(bradfitz): move these into a 386 image that derives from this one.
|
|
apt-get install -y --no-install-recommends libc6-dev-i386 gcc-multilib
|
|
# For interacting with the Go source & subrepos:
|
|
apt-get install -y --no-install-recommends mercurial git-core
|
|
|
|
apt-get clean
|
|
rm -fr /var/lib/apt/lists
|