mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Fix PostgreSQL build errors
This commit is contained in:
parent
fa197e302c
commit
6e27b42922
2 changed files with 3 additions and 4 deletions
|
|
@ -2,10 +2,11 @@
|
|||
set -xeuo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
POSTGRES_VERSION=${1:-9.6}
|
||||
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/ xenial-pgdg main" | tee /etc/apt/sources.list.d/postgresql.list
|
||||
echo "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg ${POSTGRES_VERSION}" | tee /etc/apt/sources.list.d/postgresql.list
|
||||
|
||||
apt-get update
|
||||
apt-get install -y postgresql-client
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue