mirror of https://github.com/postgres/postgres
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.2 KiB
58 lines
1.2 KiB
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
DEPS=(
|
|
# Setup
|
|
wget
|
|
# Build
|
|
bison
|
|
docbook-xml
|
|
docbook-xsl
|
|
flex
|
|
gettext
|
|
libicu-dev
|
|
libkrb5-dev
|
|
libldap2-dev
|
|
liblz4-dev
|
|
libpam0g-dev
|
|
libperl-dev
|
|
libreadline-dev
|
|
libselinux1-dev
|
|
libssl-dev
|
|
libsystemd-dev
|
|
libxml2-dev
|
|
libxml2-utils
|
|
libxslt1-dev
|
|
libzstd-dev
|
|
lz4
|
|
mawk
|
|
perl
|
|
pkgconf
|
|
systemtap-sdt-dev
|
|
tcl-dev
|
|
uuid-dev
|
|
xsltproc
|
|
zlib1g-dev
|
|
zstd
|
|
# Build pg_tde
|
|
libcurl4-openssl-dev
|
|
# Test
|
|
libipc-run-perl
|
|
# Test pg_tde
|
|
libhttp-server-simple-perl
|
|
lcov
|
|
# Run pgperltidy
|
|
perltidy
|
|
)
|
|
|
|
sudo apt-get update
|
|
sudo apt-get install -y ${DEPS[@]}
|
|
|
|
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
|
|
pip3 install meson pykmip cryptography setuptools wheel
|
|
|
|
# Vault
|
|
wget -O - https://apt.releases.hashicorp.com/gpg | sudo tee /etc/apt/keyrings/hashicorp-archive-keyring.asc
|
|
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/hashicorp-archive-keyring.asc] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
|
|
sudo apt-get update && sudo apt-get install -y vault
|
|
|