From 6a4110699be71013ed4d806eb4dcc2f7d5035371 Mon Sep 17 00:00:00 2001 From: Itay Weinberger Date: Mon, 23 Feb 2015 17:21:02 +0200 Subject: [PATCH] #125 docker should preinstall curl. --- Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 582fc1cc..b429d4a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,13 @@ FROM ubuntu:14.04 MAINTAINER Itay Weinberger # start of by updating packages and installing base packages +RUN apt-get update -ym +RUN apt-get upgrade -ym +RUN apt-get install -y curl build-essential git + RUN \ curl -sL https://deb.nodesource.com/setup | sudo bash - && \ - apt-get install -y curl build-essential git nodejs + apt-get install -y nodejs # setup needed settings/configuration for stack RUN ulimit -n 1024 @@ -28,7 +32,7 @@ RUN mkdir -p /opt/joola/bin /opt/joola/logs RUN chown -R joola:joola /opt/joola # install joola -COPY . /opt/joola/bin +COPY ../../ /opt/joola/bin RUN \ cd /opt/joola/bin && \ npm install