commit 817c87bae47ba3c74b723ebbca7b28d5f980f785 Author: MTRNord <mtrnord1@gmail.com> Date: Sun, 6 Mar 2016 16:52:21 +0100 First Commit Diffstat:
| A | Dockerfile | | | 18 | ++++++++++++++++++ |
1 file changed, 18 insertions(+), 0 deletions(-)
diff --git a/Dockerfile b/Dockerfile @@ -0,0 +1,18 @@ +# Prepare nodejs and PHP combination +# +# VERSION 0.1 + +FROM ubuntu:12.04 MAINTAINER Marcel Radzio <info@nordgedanken.de> + +RUN echo "deb http://archive.ubuntu.com/ubuntu precise universe" >> /etc/apt/sources.list + +ENV DEBIAN_FRONTEND noninteractive +RUN apt-get -qq update +RUN apt-get install -y bsdmainutils curl screen +RUN curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - +RUN sudo apt-get install -y nodejs build-essential + +RUN useradd --create-home server + +WORKDIR /home/server +VOLUME /home/server