Skip to content

Commit 156dd2c

Browse files
authored
Update testkit dockerfile to use node 18 as default (#1273)
* Update testkit dockerfile * change from undocumented to documented replacement
1 parent 1e275e3 commit 156dd2c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

testkit/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM ubuntu:20.04
1+
FROM ubuntu:24.04
22

3-
ARG NODE_VERSION=10
4-
ARG DENO_VERSION=1.37.2
3+
ARG NODE_VERSION=18
4+
ARG DENO_VERSION=2.2.11
55

6-
ENV DEBIAN_FRONTEND noninteractive
7-
ENV NODE_OPTIONS --max_old_space_size=4096 --use-openssl-ca
6+
ENV DEBIAN_FRONTEND=noninteractive
7+
ENV NODE_OPTIONS="--max_old_space_size=4096 --use-openssl-ca"
88

99
# Configuring NodeJS version
1010
RUN apt-get clean
@@ -13,7 +13,7 @@ RUN apt-get update && \
1313
apt-get upgrade -y && \
1414
apt-get install -y curl
1515

16-
RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION:=10}.x | bash -
16+
RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION:-18}.x | bash -
1717

1818
RUN apt-get update && \
1919
apt-get upgrade -y && \

0 commit comments

Comments
 (0)