From 39ef3f4dae258b0db9d58b58c501587352abf8f7 Mon Sep 17 00:00:00 2001 From: Alexey Golubev Date: Wed, 23 Nov 2016 16:18:57 +0300 Subject: [PATCH] Changed nodejs repo installation --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 14321b5..9f817bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,11 +5,11 @@ ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 DEBIAN_FRONTEND=nonint RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \ apt-get -y update && \ - apt-get --force-yes -yq install wget apt-transport-https && \ + apt-get --force-yes -yq install wget apt-transport-https curl && \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D9D0BF019CC8AC0D && \ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1655A0AB68576280 && \ echo "deb http://archive.ubuntu.com/ubuntu precise main universe multiverse" >> /etc/apt/sources.list && \ - echo "deb https://deb.nodesource.com/setup_6.x trusty main" | tee /etc/apt/sources.list.d/nodesource.list && \ + curl -sL https://deb.nodesource.com/setup_6.x | bash - && \ locale-gen en_US.UTF-8 && \ apt-get -y update && \ echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections && \