Skip to content

Commit d9c32e1

Browse files
committed
Install specific Deno version
1 parent b47d05e commit d9c32e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

testkit/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM ubuntu:20.04
22

33
ARG NODE_VERSION=10
4+
ARG DENO_VERSION=1.19.3
45

56
ENV DEBIAN_FRONTEND noninteractive
67
ENV NODE_OPTIONS --max_old_space_size=4096 --use-openssl-ca
@@ -47,7 +48,7 @@ COPY CustomCAs/* /usr/local/share/custom-ca-certificates/
4748
RUN update-ca-certificates --verbose
4849

4950
# Add Deno
50-
RUN curl -fsSL https://deno.land/x/install/install.sh | sh
51+
RUN curl -fsSL https://deno.land/x/install/install.sh | sh -s v$DENO_VERSION
5152
RUN mv /root/.deno/bin/deno /usr/bin/
5253
# Using System CA in Deno
5354
ENV DENO_TLS_CA_STORE=system

0 commit comments

Comments
 (0)