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.
This commit is contained in:
Steve Chavez
2020-04-01 10:14:00 -05:00
committed by GitHub
parent 691bb5640d
commit ababf7d4fa
+4 -1
View File
@@ -1,4 +1,7 @@
FROM debian:stretch-slim
# To build use:
# docker build --build-arg POSTGREST_VERSION=<v5.2.0 or another version> -t postgrest ./docker/
FROM debian:buster-slim
ARG POSTGREST_VERSION