From 105cd287d23b233b048da3b1bb12fc915216fc43 Mon Sep 17 00:00:00 2001 From: Dominick Gendill Date: Fri, 20 Jan 2017 15:20:07 -0700 Subject: Added Dockerfile. Upgraded to purescript 0.10.5. --- Dockerfile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..88b1b8c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,26 @@ +FROM node:4 + +MAINTAINER Risto Stevcev + +ENV PURESCRIPT_DOWNLOAD_SHA1 8355acb4419fcd136d7f8d19d398ae8ebf457bcd + +RUN npm install -g bower pulp@10.0.0 + +RUN cd /opt \ + && wget https://github.com/purescript/purescript/releases/download/v0.10.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 userdel node +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