github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/tools/dashboard/env/linux-x86-clang/scripts/install-apt-deps.sh (about)

     1  set -ex
     2  
     3  apt-get update
     4  apt-get install -y --no-install-recommends ca-certificates
     5  # Optionally used by some net/http tests:
     6  apt-get install -y --no-install-recommends strace 
     7  # For building Go's bootstrap 'dist' prog
     8  apt-get install -y --no-install-recommends wget
     9  wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | apt-key add -
    10  apt-get update
    11  apt-get install -y --no-install-recommends clang-3.5
    12  # TODO(cmang): move these into a 386 image that derives from this one.
    13  apt-get install -y --no-install-recommends libc6-dev-i386 gcc-multilib
    14  # Remove gcc binary so it doesn't interfere with clang
    15  rm -f /usr/bin/gcc
    16  # For interacting with the Go source & subrepos:
    17  apt-get install -y --no-install-recommends git-core
    18  
    19  apt-get clean
    20  rm -fr /var/lib/apt/lists