1
1
mirror of https://github.com/yandex/pgmigrate.git synced 2024-09-19 08:07:22 +03:00

Drop keyserver use from Dockerfile

For some reason obtaining repo key periodically fails in travis.
This commit is contained in:
secwall 2019-04-14 21:38:11 +03:00
parent 425609947c
commit 37ff280d53

View File

@ -11,16 +11,16 @@ RUN apt-get update && apt-get install -y software-properties-common locales && \
ENV LANG en_US.utf8
ENV DEBIAN_FRONTEND noninteractive
RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8
ENV PG_MAJOR 11
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list
RUN apt-get update \
RUN apt-get -o Acquire::AllowInsecureRepositories=true \
-o Acquire::AllowDowngradeToInsecureRepositories=true update \
&& apt-get \
-o Dpkg::Options::="--force-confdef" \
-o Dpkg::Options::="--force-confold" \
-o APT::Get::AllowUnauthenticated=true \
install -y postgresql-common \
sudo \
libpq-dev \