]>
Commit | Line | Data |
---|---|---|
c385b755 | 1 | FROM node:6 |
73e702a7 RS |
2 | |
3 | MAINTAINER Risto Stevcev | |
4 | ||
9462910f | 5 | ENV PURESCRIPT_DOWNLOAD_SHA1 6fc98db5f7d58c4d2d7d80a73cefcad8c0189358 |
73e702a7 | 6 | |
c385b755 | 7 | RUN npm install -g bower pulp@9.0.1 |
73e702a7 RS |
8 | |
9 | RUN cd /opt \ | |
9462910f | 10 | && wget https://github.com/purescript/purescript/releases/download/v0.10.0-rc.1/linux64.tar.gz \ |
73e702a7 RS |
11 | && echo "$PURESCRIPT_DOWNLOAD_SHA1 linux64.tar.gz" | sha1sum -c - \ |
12 | && tar -xvf linux64.tar.gz \ | |
13 | && rm /opt/linux64.tar.gz | |
14 | ||
15 | ENV PATH /opt/purescript:$PATH | |
16 | ||
17 | RUN useradd -m -s /bin/bash pureuser | |
18 | ||
19 | WORKDIR /home/pureuser | |
20 | ||
21 | USER pureuser | |
22 | ||
23 | RUN mkdir tmp && cd tmp && pulp init | |
24 | ||
25 | CMD cd tmp && pulp psci |