blob: 19f4cdd0426584747f1696e44b93f125d10b2eaa (
plain) (
tree)
|
|
FROM node:6
MAINTAINER Risto Stevcev
ENV PURESCRIPT_DOWNLOAD_SHA1 be05b610b6bc43e6cb93238ffb49696cf37b0fb3
RUN npm install -g bower pulp@9.0.1
RUN cd /opt \
&& wget https://github.com/purescript/purescript/releases/download/v0.10.1/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 userdel node
RUN useradd -m -s /bin/bash pureuser
WORKDIR /home/pureuser
USER pureuser
RUN mkdir tmp && cd tmp && pulp init
CMD cd tmp && pulp psci
|