1
- FROM ubuntu:21.10
1
+ FROM ubuntu:24.04
2
2
3
3
# #########################################################
4
4
# General requirements for testing or common across many
@@ -8,10 +8,8 @@ FROM ubuntu:21.10
8
8
RUN apt-get -y update
9
9
10
10
# 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
15
13
16
14
RUN mkdir -p /mal
17
15
WORKDIR /mal
@@ -20,19 +18,12 @@ WORKDIR /mal
20
18
# Specific implementation requirements
21
19
# #########################################################
22
20
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
32
23
33
24
# Install purescript and deps
34
- RUN apt-get install -y git libtinfo5
25
+ RUN apt-get install -y git libtinfo6
35
26
RUN npm install -g --unsafe-perm purescript spago
36
27
37
28
ENV NPM_CONFIG_CACHE /mal/.npm
38
- ENV HOME /mal
29
+ ENV HOME /mal
0 commit comments