]> git.immae.eu Git - github/fretlink/purescript-docker.git/commitdiff
Update to use latest node and purescript
authorMatthías Páll Gissurarson <mpg@mpg.is>
Mon, 29 Jan 2018 13:48:08 +0000 (14:48 +0100)
committerMatthías Páll Gissurarson <mpg@mpg.is>
Mon, 29 Jan 2018 13:49:08 +0000 (14:49 +0100)
Dockerfile

index 9b642d9f5439385b18ffefd0253ec70a3670550d..bf4c674256ea32440abd774c888046db6b9b231a 100644 (file)
@@ -1,13 +1,12 @@
-FROM node:4
+FROM node:9
 
 MAINTAINER Risto Stevcev
+ENV PURESCRIPT_DOWNLOAD_SHA1 f01eb69aa71f5f97c6980f8c68d107480c68ee64
 
-ENV PURESCRIPT_DOWNLOAD_SHA1 3eb742521db7d87359346143a47230b73110ccbe
-
-RUN npm install -g bower pulp@11.0.0
+RUN yarn global add bower pulp@11.0.0
 
 RUN cd /opt \
-    && wget https://github.com/purescript/purescript/releases/download/v0.11.6/linux64.tar.gz \
+    && wget https://github.com/purescript/purescript/releases/download/v0.11.7/linux64.tar.gz \
     && echo "$PURESCRIPT_DOWNLOAD_SHA1 linux64.tar.gz" | sha1sum -c - \
     && tar -xvf linux64.tar.gz \
     && rm /opt/linux64.tar.gz