mirror of
https://github.com/postgres/postgres.git
synced 2025-05-30 00:02:11 -04:00
List Github worker dependencies in a nicer way
By not having everything on one line it is easier to see what we actually install and why.
This commit is contained in:
parent
65ab529e6b
commit
0c410a6cb1
@ -1,14 +1,50 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo apt-get update
|
||||
DEPS=(
|
||||
# Setup
|
||||
wget
|
||||
gpg
|
||||
# Build
|
||||
bison
|
||||
docbook-xsl
|
||||
flex
|
||||
gettext
|
||||
libkrb5-dev
|
||||
libldap2-dev
|
||||
liblz4-dev
|
||||
libpam0g-dev
|
||||
libperl-dev
|
||||
libreadline6-dev
|
||||
libselinux1-dev
|
||||
libssl-dev
|
||||
libsystemd-dev
|
||||
libxml2
|
||||
libxml2-dev
|
||||
libxml2-utils
|
||||
libxslt-dev
|
||||
meson
|
||||
ninja-build
|
||||
pkg-config
|
||||
python3-dev
|
||||
systemtap-sdt-dev
|
||||
tcl-dev
|
||||
uuid-dev
|
||||
xsltproc
|
||||
zlib1g-dev
|
||||
# Build pg_tde
|
||||
libcurl4-openssl-dev
|
||||
# Test
|
||||
libipc-run-perl
|
||||
# Test pg_tde
|
||||
python3-pykmip
|
||||
libhttp-server-simple-perl
|
||||
)
|
||||
|
||||
sudo apt-get install -y libreadline6-dev systemtap-sdt-dev zlib1g-dev libssl-dev libpam0g-dev bison flex libxml2 libxml2-utils libxml2-dev libxslt-dev xsltproc libkrb5-dev libldap2-dev libsystemd-dev gettext tcl-dev libperl-dev pkg-config libselinux1-dev python3-dev uuid-dev liblz4-dev meson ninja-build gpg wget libcurl4-openssl-dev libxml2-utils docbook-xsl xsltproc
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y ${DEPS[@]}
|
||||
|
||||
bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
|
||||
|
||||
# Test dependencies
|
||||
sudo apt-get install -y libipc-run-perl python3-pykmip libhttp-server-simple-perl
|
||||
|
||||
# Vault
|
||||
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
|
||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
|
||||
|
Loading…
x
Reference in New Issue
Block a user