node-php-server

My little nodePHP docker server
git clone git://archive.git.mtrnord.blog/MTRNord/node-php-server.git
Log | Files | Refs

Dockerfile (916B)


      1 # Prepare nodejs and PHP combination
      2 #
      3 # VERSION               0.1
      4 
      5 FROM ubuntu:15.10
      6 MAINTAINER Marcel Radzio <info@nordgedanken.de>
      7 
      8 RUN echo "deb http://archive.ubuntu.com/ubuntu precise universe" >> /etc/apt/sources.list
      9 
     10 ENV DEBIAN_FRONTEND noninteractive
     11 RUN apt-get -qq update
     12 RUN apt-get install -y bsdmainutils curl screen wget
     13 RUN curl -sL https://deb.nodesource.com/setup_5.x | bash -
     14 RUN apt-get update
     15 RUN apt-get install -y nodejs build-essential checkinstall php5 libavahi-compat-libdnssd-dev
     16 RUN apt-get install -y libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
     17 
     18 RUN wget http://python.org/ftp/python/2.7.11/Python-2.7.11.tgz
     19 RUN tar -xvf Python-2.7.11.tgz
     20 RUN cd Python-2.7.11 && ./configure && make && make install && checkinstall
     21 
     22 RUN npm install -g strongloop
     23 
     24 
     25 
     26 RUN useradd --create-home server
     27 
     28 WORKDIR /home/server
     29 VOLUME /home/server