From 8bd272258cae497e2ab88268f88fb283069ce2e3 Mon Sep 17 00:00:00 2001 From: Andreas Wagner Date: Wed, 10 May 2017 22:39:09 +0200 Subject: [PATCH] Fix installing node --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 229df375f0..3cbdfa7114 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,8 +31,6 @@ RUN yum install -y \ python-devel \ # Git, because we're using git-checkout dependencies git \ - # Nodejs for less, stylus, uglifyjs and others - nodejs \ # Dependencies for mysql-python mysql-community-devel \ mysql-community-client \ @@ -41,6 +39,10 @@ RUN yum install -y \ swig \ && yum clean all +# Install Nodejs (for less, stylus, uglifyjs and others) separately, because +# it's part of epel which we just installed above. +RUN yum install -y nodejs + # Compile required locale RUN localedef -i en_US -f UTF-8 en_US.UTF-8