From 83582dd9c6d57c39167d2296e2e90671124e184e Mon Sep 17 00:00:00 2001 From: Alexey Golubev Date: Fri, 26 Aug 2016 15:44:32 +0300 Subject: [PATCH] Add a postgre key without storing a file on disk --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 70aa8ee..0e5fc74 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,7 @@ RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \ apt-get --force-yes -yq install wget apt-transport-https && \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D9D0BF019CC8AC0D && \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1655A0AB68576280 && \ - wget https://www.postgresql.org/media/keys/ACCC4CF8.asc && \ - apt-key add ACCC4CF8.asc && \ + wget -qO - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \ echo "deb http://archive.ubuntu.com/ubuntu precise main universe multiverse" >> /etc/apt/sources.list && \ echo "deb https://deb.nodesource.com/node_4.x trusty main" | tee /etc/apt/sources.list.d/nodesource.list && \ echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" | tee /etc/apt/sources.list.d/postgresql.list && \