From ababf7d4faea285532a9b883e63e806dbac32112 Mon Sep 17 00:00:00 2001 From: Steve Chavez Date: Wed, 1 Apr 2020 10:14:00 -0500 Subject: [PATCH] Change docker image to support scram-sha-256 auth (#1467) Debian stretch has a libpq < 10: https://packages.debian.org/stretch/libpq5. But buster has libpq >= 10 https://packages.debian.org/buster/libpq5. Fixes https://github.com/PostgREST/postgrest/issues/1443. --- docker/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 01149350c..26aba3e0c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,7 @@ -FROM debian:stretch-slim +# To build use: +# docker build --build-arg POSTGREST_VERSION= -t postgrest ./docker/ + +FROM debian:buster-slim ARG POSTGREST_VERSION