From da3b467d479d0ffaf9cfdb090feb0ea4ff0c1a57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Turbelin?= Date: Tue, 25 Jun 2019 14:09:59 +0200 Subject: [PATCH] Use https to fetch Postgres repo --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 61a719eecd..0438bc39a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,8 +19,8 @@ RUN git clone https://github.com/rbenv/rbenv.git ${RBENV_ROOT} && \ gem install bundler --version=1.17.2 # Postgres -RUN sh -c "echo 'deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main' > /etc/apt/sources.list.d/pgdg.list" && \ - wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | apt-key add - && \ +RUN sh -c "echo 'deb https://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main' > /etc/apt/sources.list.d/pgdg.list" && \ + wget --quiet -O - https://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | apt-key add - && \ apt-get update && \ apt-get install -yqq --no-install-recommends postgresql-client-9.5 libpq-dev