From cd858ae9fa721d47716c327e5189f3a8bc995f0c Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sat, 18 Feb 2017 18:29:27 +0100 Subject: [PATCH] fix curl --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ba9f239..2121147 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,6 @@ ENV NODE_VERSION_LTS="6.9.1" NODE_VERSION_STABLE="7.1.0" NVM_DIR="/usr/local/nvm # Set debconf to run non-interactively and install packages RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \ - && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - \ - && echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list \ && apt-get update \ && apt-get upgrade --no-install-recommends -y \ && apt-get install -y -q --no-install-recommends \ @@ -20,7 +18,10 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio openssl \ python \ rsync \ - yarn \ + && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - \ + && echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list \ + && apt-get update \ + && apt-get install yarn \ && apt-get clean \ && rm -r /var/lib/apt/lists/*