k3s/scripts/provision/generic/ubuntu1804/vagrant

41 lines
542 B
Plaintext
Raw Normal View History

2020-03-02 16:38:07 +00:00
#!/bin/bash
set -ve
download_go
# ---
cat <<EOF >/etc/profile.d/build.sh
export SELINUX=true
# export STATIC_BUILD=true
EOF
. /etc/profile.d/build.sh
# ---
apt-get update
2020-03-02 16:38:07 +00:00
apt-get install -y \
build-essential \
ca-certificates \
curl \
docker.io \
gcc \
git \
jq \
libffi-dev \
2020-03-02 16:38:07 +00:00
libseccomp-dev \
libsqlite3-dev \
libselinux1-dev \
libuv1-dev \
make \
npm \
pkg-config \
python3 \
squashfs-tools \
tar \
wget \
vim \
zip \
2020-03-02 16:38:07 +00:00
zlib1g-dev \
zstd
2020-03-02 16:38:07 +00:00
# ---
go get -u github.com/go-delve/delve/cmd/dlv
# ---