From c79ed62e13c8a3ceaf897c88b9e63478d32d8aa1 Mon Sep 17 00:00:00 2001 From: Eugen Mayer <136934+EugenMayer@users.noreply.github.com> Date: Wed, 9 Jun 2021 15:11:01 +0200 Subject: [PATCH] Upgrade postgres to 10 (#529) - upgrade python-dev to python3-dev since python2 is no longer available - py-pi to pi3-pip --- db/Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/db/Dockerfile b/db/Dockerfile index d261fd27..bc45010f 100644 --- a/db/Dockerfile +++ b/db/Dockerfile @@ -1,6 +1,8 @@ -FROM postgres:9.4-alpine +FROM postgres:10-alpine ENV DEFAULT_TIMEZONE UTC +# Mandatory nowdays with PG 10 +ENV WAL_LEVEL logical # Install some packages to use WAL RUN echo "azure<5.0.0" > pip-constraints.txt @@ -10,8 +12,8 @@ RUN apk add --no-cache \ libc6-compat \ libffi-dev \ linux-headers \ - python-dev \ - py-pip \ + python3-dev \ + py3-pip \ py-cryptography \ pv \ libressl-dev \