Use https to fetch Postgres repo

This commit is contained in:
François Turbelin
2019-06-25 14:09:59 +02:00
parent ceffae2efc
commit da3b467d47

View File

@@ -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