From e31df2ef11d6a1a8ec3efa026e0ad1f86f8409d0 Mon Sep 17 00:00:00 2001 From: Nico Vermaas <vermaas@astron.nl> Date: Tue, 22 Dec 2020 13:24:34 +0100 Subject: [PATCH] for Postgres, switch back ubuntu 16.04 and postgres 9.3 --- atdb/docker/postgres/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atdb/docker/postgres/Dockerfile b/atdb/docker/postgres/Dockerfile index afcdaad5..d08aa882 100644 --- a/atdb/docker/postgres/Dockerfile +++ b/atdb/docker/postgres/Dockerfile @@ -2,7 +2,7 @@ # example Dockerfile for https://docs.docker.com/engine/examples/postgresql_service/ # -FROM ubuntu:18.04 +FROM ubuntu:16.04 # Add the PostgreSQL PGP key to verify their Debian packages. # It should be the same key as https://www.postgresql.org/media/keys/ACCC4CF8.asc @@ -15,7 +15,7 @@ RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" > /etc # Install ``python-software-properties``, ``software-properties-common`` and PostgreSQL 9.3 # There are some warnings (in red) that show up during the build. You can hide # them by prefixing each apt-get statement with DEBIAN_FRONTEND=noninteractive -RUN apt-get update && apt-get install -y python-software-properties software-properties-common postgresql-9.3 postgresql-client-9.3 postgresql-contrib-9.3 gnupg +RUN apt-get update && apt-get install -y python-software-properties software-properties-common postgresql-9.3 postgresql-client-9.3 postgresql-contrib-9.3 # Note: The official Debian and Ubuntu images automatically ``apt-get clean`` # after each ``apt-get`` -- GitLab