pulumi/proto/build-container/scripts/install-packages.sh

33 lines
549 B
Bash
Executable File

#!/usr/bin/env bash
set -o errexit
set -o pipefail
set -o xtrace
SCRIPT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
#shellcheck source=utils.sh
source "${SCRIPT_ROOT}/utils.sh"
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y \
apt-transport-https \
curl \
git \
gnupg2 \
jq \
software-properties-common \
unzip
add-apt-repository universe
apt-get update
# Install GCC from APT for building cgo
apt-get install -y --no-install-recommends \
g++ \
gcc \
libc6-dev \
make \
pkg-config