blob: 97eeea5d261995f256e8c1670489efd0671a9134 (
plain) (
tree)
|
|
FROM node:6
MAINTAINER Risto Stevcev
ENV PURESCRIPT_DOWNLOAD_SHA1 dd7baba13e9b8bdc5276346c614544a257ccd524
RUN npm install -g bower pulp@10.0.0
RUN cd /opt \
&& wget https://github.com/purescript/purescript/releases/download/v0.10.2/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
|