mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Update to Debian bullseye
This commit is contained in:
parent
cc18fe8b5b
commit
27c59b7e27
10 changed files with 50 additions and 15 deletions
|
|
@ -3,10 +3,11 @@ set -xeuo pipefail
|
|||
IFS=$'\n\t'
|
||||
|
||||
POSTGRES_VERSION=${1:-12}
|
||||
DEBIAN_VERSION=${2:-buster}
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
curl -sS -L https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
|
||||
echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main" | tee /etc/apt/sources.list.d/postgresql.list
|
||||
echo "deb http://apt.postgresql.org/pub/repos/apt/ ${DEBIAN_VERSION}-pgdg main" | tee /etc/apt/sources.list.d/postgresql.list
|
||||
|
||||
apt-get update
|
||||
apt-get install -y postgresql-client-${POSTGRES_VERSION}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue