From a491424392548d88682777f35919601676cf6481 Mon Sep 17 00:00:00 2001 From: AJ Bahnken Date: Sat, 5 Aug 2017 20:46:33 -0700 Subject: [PATCH 1/3] Have debian_install.sh install postgres 9.6 --- debian_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian_install.sh b/debian_install.sh index 777e5b2..1f92da9 100644 --- a/debian_install.sh +++ b/debian_install.sh @@ -2,4 +2,4 @@ # Steve Phillips / elimisteve # 2017.05.13 -sudo apt-get install postgresql-9.4 postgresql-contrib-9.4 +sudo apt-get install postgresql-9.6 postgresql-contrib-9.6 From eb6e9c13f282358a26494f9eed8636124a4271cb Mon Sep 17 00:00:00 2001 From: AJ Bahnken Date: Sat, 5 Aug 2017 20:51:16 -0700 Subject: [PATCH 2/3] Install 9.6 from postgresql.org's apt repo --- debian_install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian_install.sh b/debian_install.sh index 1f92da9..f271c6b 100644 --- a/debian_install.sh +++ b/debian_install.sh @@ -2,4 +2,7 @@ # Steve Phillips / elimisteve # 2017.05.13 +sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" +wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - +sudo apt-get update sudo apt-get install postgresql-9.6 postgresql-contrib-9.6 From cf880c703c3e8a26d3f8eb92abe97f01153b0bce Mon Sep 17 00:00:00 2001 From: AJ Bahnken Date: Sat, 5 Aug 2017 20:53:46 -0700 Subject: [PATCH 3/3] Pin docker-compose's postgres to 9.6 --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index e97812d..6ee0104 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.1' services: postgres: - image: postgres:latest + image: postgres:9.6 ports: - 5432:5432 environment: