From 73e702a7e363cbea0f731357954f8f5974a6c68a Mon Sep 17 00:00:00 2001 From: Risto Stevcev Date: Mon, 27 Jun 2016 03:32:43 +0200 Subject: Added Dockerfile --- Dockerfile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3a70337 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,25 @@ +FROM node:4 + +MAINTAINER Risto Stevcev + +ENV PURESCRIPT_DOWNLOAD_SHA1 7ac8ded4bc3e2b5af378af4bed77598eb69bfde2 + +RUN npm install -g bower pulp@8.2.1 + +RUN cd /opt \ + && wget https://github.com/purescript/purescript/releases/download/v0.8.5/linux64.tar.gz \ + && echo "$PURESCRIPT_DOWNLOAD_SHA1 linux64.tar.gz" | sha1sum -c - \ + && tar -xvf linux64.tar.gz \ + && rm /opt/linux64.tar.gz + +ENV PATH /opt/purescript:$PATH + +RUN useradd -m -s /bin/bash pureuser + +WORKDIR /home/pureuser + +USER pureuser + +RUN mkdir tmp && cd tmp && pulp init + +CMD cd tmp && pulp psci -- cgit v1.2.3