Skip to content

Commit

Permalink
purs: update Dockerfile for purescript 0.15.8
Browse files Browse the repository at this point in the history
  • Loading branch information
asarhaddon committed Aug 8, 2024
1 parent 1717a2c commit d036ee1
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions impls/purs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:21.10
FROM ubuntu:24.04

##########################################################
# General requirements for testing or common across many
Expand All @@ -8,10 +8,8 @@ FROM ubuntu:21.10
RUN apt-get -y update

# Required for running tests
RUN apt-get -y install make python

# Some typical implementation and test requirements
RUN apt-get -y install curl libreadline-dev libedit-dev
RUN apt-get -y install make python3
RUN ln -fs /usr/bin/python3 /usr/local/bin/python

RUN mkdir -p /mal
WORKDIR /mal
Expand All @@ -20,19 +18,12 @@ WORKDIR /mal
# Specific implementation requirements
##########################################################

# For building node modules
RUN apt-get -y install g++

# Add nodesource apt repo config for 10.x stable
RUN apt-get -y install gnupg
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -

# Install nodejs
RUN apt-get -y install nodejs
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install g++ libreadline-dev nodej
s npm

# Install purescript and deps
RUN apt-get install -y git libtinfo5
RUN apt-get install -y git libtinfo6
RUN npm install -g --unsafe-perm purescript spago

ENV NPM_CONFIG_CACHE /mal/.npm
ENV HOME /mal
ENV HOME /mal

0 comments on commit d036ee1

Please sign in to comment.