Add convenience debian scratch env setup script

Purely for local reproduction purposes
This commit is contained in:
Tristan 2022-06-23 15:23:48 +02:00
parent 05b9f1eabe
commit 8be4a5d29a
No known key found for this signature in database
GPG Key ID: BDDFC4A0651ACDE4

27
tool/setup-debian.sh Executable file
View File

@ -0,0 +1,27 @@
#!/usr/bin/env bash
set -euo pipefail
export DEBIAN_FRONTEND=noninteractive
apt -qq update
apt -qq -y --no-install-recommends install apt-utils apt-transport-https ca-certificates
sed -i -e 's/http\:/https\:/g' /etc/apt/sources.list
apt -qq update
apt -qq -y --no-install-recommends install \
build-essential \
bzip2 \
ca-certificates \
cmake \
curl \
debhelper \
debian-archive-keyring \
devscripts \
git \
gnupg2 \
libpcre2-dev \
libreadline-dev \
libsystemd-dev \
pkg-config \
tar \
zlib1g-dev