Repo key should be downloaded securely (#432)
authorMatic Mežnar <maticmeznar@users.noreply.github.com>
Sun, 16 Jun 2019 23:47:03 +0000 (01:47 +0200)
committerSam <sam.saffron@gmail.com>
Sun, 16 Jun 2019 23:47:03 +0000 (09:47 +1000)
image/base/Dockerfile

index af1b3132135686e95215ea5c89f05e1e98370f1c..2510b7f62ed9a8df049efd69fe34d521b94484af 100644 (file)
@@ -20,7 +20,7 @@ RUN sh -c "fping proxy && echo 'Acquire { Retries \"0\"; HTTP { Proxy \"http://p
 RUN apt-get -y install software-properties-common
 RUN apt-mark hold initscripts
 RUN apt-get -y upgrade
-RUN curl http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | apt-key add -
+RUN curl https://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | apt-key add -
 RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -sc)-pgdg main" | \
         tee /etc/apt/sources.list.d/postgres.list
 RUN curl --silent --location https://deb.nodesource.com/setup_10.x | sudo bash -