mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00:00
Change-Id: I256168d1bbe542ae78e4c1e7c4879d2b62b74c7e Reviewed-on: https://go-review.googlesource.com/2690 Reviewed-by: Andrew Gerrand <adg@golang.org>
23 lines
833 B
Bash
Executable File
23 lines
833 B
Bash
Executable File
set -ex
|
|
|
|
apt-get update
|
|
apt-get install -y --no-install-recommends 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 wget
|
|
wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | apt-key add -
|
|
apt-get update
|
|
apt-get install -y --no-install-recommends clang-3.5
|
|
# TODO(cmang): move these into a 386 image that derives from this one.
|
|
apt-get install -y --no-install-recommends libc6-dev-i386 gcc-multilib
|
|
# Remove gcc binary so it doesn't interfere with clang
|
|
rm -f /usr/bin/gcc
|
|
# For interacting with the Go source & subrepos:
|
|
apt-get install -y --no-install-recommends git-core
|
|
# For installing Go 1.4:
|
|
apt-get install -y --no-install-recommends curl
|
|
|
|
apt-get clean
|
|
rm -fr /var/lib/apt/lists
|