aboutsummaryrefslogblamecommitdiffhomepage
path: root/Dockerfile
blob: ca6b2fef4b13742f20d89b9eb1a0fceb2e3ae80c (plain) (tree)
1
2
3
4
5
6
7
8
9
           


                        
                                                                     
 
                                   

             
                                                                                              














                                                                       
FROM node:6

MAINTAINER Risto Stevcev

ENV PURESCRIPT_DOWNLOAD_SHA1 9e8ff98e1e5d0dbf34df5124dc42d3b73e9dc257

RUN npm install -g bower pulp@9.0.1

RUN cd /opt \
    && wget https://github.com/purescript/purescript/releases/download/v0.9.3/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