From: Rafael dos Santos Silva Date: Wed, 13 May 2020 00:18:55 +0000 (-0300) Subject: Remove all pg12 traces so pg_wrapper doesn't get confused X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3e465a25bf67d07f3b79f028ba22fdfc53701869;p=discourse_docker.git Remove all pg12 traces so pg_wrapper doesn't get confused --- diff --git a/templates/postgres.10.template.yml b/templates/postgres.10.template.yml index 63f06bd..fb5b252 100644 --- a/templates/postgres.10.template.yml +++ b/templates/postgres.10.template.yml @@ -19,7 +19,7 @@ hooks: to: sv start postgres || exit 1 run: - - exec: apt-get remove -y postgresql-12 postgresql-client-12 postgresql-contrib-12 + - exec: DEBIAN_FRONTEND=noninteractive apt-get purge -y postgresql-12 postgresql-client-12 postgresql-contrib-12 - exec: apt-get update && apt-get install -y postgresql-10 postgresql-client-10 postgresql-contrib-10 - exec: mkdir -p /shared/postgres_run - exec: chown postgres:postgres /shared/postgres_run