From 5fa0ce9d5804ec6b7c4c08a2972c8c297a1e30ab Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Mon, 21 Sep 2015 14:51:57 -0400 Subject: [PATCH] Include apt-get update with install This forces the Docker apt-get update to not attempt to re-use the cache --- tools/docker-compose/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/docker-compose/Dockerfile b/tools/docker-compose/Dockerfile index d794df1b30..b00e5fd7da 100644 --- a/tools/docker-compose/Dockerfile +++ b/tools/docker-compose/Dockerfile @@ -4,8 +4,7 @@ RUN locale-gen en_US.UTF-8 ENV LANG en_US.UTF-8 ENV LANGUAGE en_US:en ENV LC_ALL en_US.UTF-8 -RUN apt-get update -RUN apt-get install -y software-properties-common python-software-properties curl +RUN apt-get update && apt-get install -y software-properties-common python-software-properties curl RUN add-apt-repository -y ppa:chris-lea/zeromq; add-apt-repository -y ppa:chris-lea/node.js; add-apt-repository ppa:ansible/ansible RUN curl -sL https://deb.nodesource.com/setup_0.12 | bash - RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 && apt-key adv --fetch-keys http://www.postgresql.org/media/keys/ACCC4CF8.asc