mirror of
https://github.com/golang/go
synced 2024-11-19 10:34:46 -07:00
18 lines
672 B
Bash
18 lines
672 B
Bash
|
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
|