From: Matic Mežnar Date: Sun, 16 Jun 2019 23:47:03 +0000 (+0200) Subject: Repo key should be downloaded securely (#432) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6b16001cf401fb4ee73675704c011af6ff65ef6f;p=discourse_docker.git Repo key should be downloaded securely (#432) --- diff --git a/image/base/Dockerfile b/image/base/Dockerfile index af1b313..2510b7f 100644 --- a/image/base/Dockerfile +++ b/image/base/Dockerfile @@ -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 -