]> git.immae.eu Git - github/fretlink/purescript-docker.git/blame - Dockerfile
v0.11.6
[github/fretlink/purescript-docker.git] / Dockerfile
CommitLineData
105cd287
DG
1FROM node:4
2
3MAINTAINER Risto Stevcev
4
bfa93234 5ENV PURESCRIPT_DOWNLOAD_SHA1 3eb742521db7d87359346143a47230b73110ccbe
105cd287 6
bfa93234 7RUN npm install -g bower pulp@11.0.0
105cd287
DG
8
9RUN cd /opt \
bfa93234 10 && wget https://github.com/purescript/purescript/releases/download/v0.11.6/linux64.tar.gz \
105cd287
DG
11 && echo "$PURESCRIPT_DOWNLOAD_SHA1 linux64.tar.gz" | sha1sum -c - \
12 && tar -xvf linux64.tar.gz \
13 && rm /opt/linux64.tar.gz
14
15ENV PATH /opt/purescript:$PATH
16
17RUN userdel node
18RUN useradd -m -s /bin/bash pureuser
19
20WORKDIR /home/pureuser
21
22USER pureuser
23
24RUN mkdir tmp && cd tmp && pulp init
25
26CMD cd tmp && pulp psci