Skip to content

Commit d036ee1

Browse files
committed
purs: update Dockerfile for purescript 0.15.8
1 parent 1717a2c commit d036ee1

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

impls/purs/Dockerfile

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:21.10
1+
FROM ubuntu:24.04
22

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

1010
# Required for running tests
11-
RUN apt-get -y install make python
12-
13-
# Some typical implementation and test requirements
14-
RUN apt-get -y install curl libreadline-dev libedit-dev
11+
RUN apt-get -y install make python3
12+
RUN ln -fs /usr/bin/python3 /usr/local/bin/python
1513

1614
RUN mkdir -p /mal
1715
WORKDIR /mal
@@ -20,19 +18,12 @@ WORKDIR /mal
2018
# Specific implementation requirements
2119
##########################################################
2220

23-
# For building node modules
24-
RUN apt-get -y install g++
25-
26-
# Add nodesource apt repo config for 10.x stable
27-
RUN apt-get -y install gnupg
28-
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
29-
30-
# Install nodejs
31-
RUN apt-get -y install nodejs
21+
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install g++ libreadline-dev nodej
22+
s npm
3223

3324
# Install purescript and deps
34-
RUN apt-get install -y git libtinfo5
25+
RUN apt-get install -y git libtinfo6
3526
RUN npm install -g --unsafe-perm purescript spago
3627

3728
ENV NPM_CONFIG_CACHE /mal/.npm
38-
ENV HOME /mal
29+
ENV HOME /mal

0 commit comments

Comments
 (0)