Created
June 14, 2016 16:43
-
-
Save Risto-Stevcev/f7b9d75771e052f1e9dacb9dd8d5b1ec to your computer and use it in GitHub Desktop.
Purescript 0.8.5 Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:4 | |
MAINTAINER Risto Stevcev | |
ENV PURESCRIPT_DOWNLOAD_SHA1 7ac8ded4bc3e2b5af378af4bed77598eb69bfde2 | |
RUN npm install -g bower pulp@8.2.1 | |
RUN cd /opt \ | |
&& wget https://github.com/purescript/purescript/releases/download/v0.8.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 useradd -m -s /bin/bash pureuser | |
WORKDIR /home/pureuser | |
USER pureuser | |
RUN mkdir tmp && cd tmp && pulp init | |
CMD cd tmp && pulp psci |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment