2014-09-08 16:35:40 -06:00
|
|
|
set -ex
|
|
|
|
|
|
|
|
apt-get update
|
2014-12-11 22:50:58 -07:00
|
|
|
apt-get install -y --no-install-recommends ca-certificates
|
2014-09-08 16:35:40 -06:00
|
|
|
# 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:
|
2014-12-11 17:39:44 -07:00
|
|
|
apt-get install -y --no-install-recommends git-core
|
2015-01-12 18:36:23 -07:00
|
|
|
# For downloading Go 1.4:
|
|
|
|
apt-get install -y --no-install-recommends curl
|
2014-09-08 16:35:40 -06:00
|
|
|
|
|
|
|
apt-get clean
|
|
|
|
rm -fr /var/lib/apt/lists
|