File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
FROM ubuntu:22.04
2
2
3
3
ARG DEBIAN_FRONTEND=noninteractive
4
+ ARG NODE_MAJOR=20
4
5
RUN apt-get update -qq \
6
+ && apt-get install -y ca-certificates curl gnupg \
7
+ && mkdir -p /etc/apt/keyrings \
8
+ && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
9
+ && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" > /etc/apt/sources.list.d/nodesource.list \
10
+ && apt-get update -qq \
5
11
&& apt-get install -y \
6
12
# x86_64 / generic packages
7
13
bash \
8
14
build-essential \
9
15
cmake \
10
16
git \
11
17
make \
18
+ nodejs \
12
19
python3 \
13
20
python3-pip \
14
21
python3-pil \
15
22
python-is-python3 \
16
23
tar \
17
24
unzip \
18
25
wget \
19
- curl \
20
26
# aarch64 packages
21
27
libffi-dev \
22
28
libssl-dev \
@@ -29,8 +35,6 @@ RUN apt-get update -qq \
29
35
libpango-1.0-0 \
30
36
ibpango1.0-dev \
31
37
libpangocairo-1.0-0 \
32
- && curl -sL https://deb.nodesource.com/setup_18.x | bash - \
33
- && apt-get install -y nodejs \
34
38
&& rm -rf /var/cache/apt/* /var/lib/apt/lists/*;
35
39
36
40
# Git needed for PROJECT_GIT_COMMIT_HASH variable setting
You can’t perform that action at this time.
0 commit comments