mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-08 19:49:41 +00:00
Before this change, Ubuntu provisioning script used the package list from Alpine. But a lot of packages from that list have name mismatches. Biggest example - `docker`, which has nothing to do with Docker as a container engine in Ubuntu (the proper package is `docker.io`). Let's just keep the full list for Ubuntu in its own provisioning script. Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
41 lines
542 B
Bash
Executable File
41 lines
542 B
Bash
Executable File
#!/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
|
|
apt-get install -y \
|
|
build-essential \
|
|
ca-certificates \
|
|
curl \
|
|
docker.io \
|
|
gcc \
|
|
git \
|
|
jq \
|
|
libffi-dev \
|
|
libseccomp-dev \
|
|
libsqlite3-dev \
|
|
libselinux1-dev \
|
|
libuv1-dev \
|
|
make \
|
|
npm \
|
|
pkg-config \
|
|
python3 \
|
|
squashfs-tools \
|
|
tar \
|
|
wget \
|
|
vim \
|
|
zip \
|
|
zlib1g-dev \
|
|
zstd
|
|
|
|
# ---
|
|
go get -u github.com/go-delve/delve/cmd/dlv
|
|
# ---
|