File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ RUN apt-get update && \
11
11
firefox \
12
12
&& rm -rf /var/lib/apt/lists/*
13
13
14
+ # Configuring NodeJS version
15
+ RUN apt-get clean
16
+ RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION:=10}.x | sh
17
+ RUN apt-get install -y nodejs && rm -rf /var/lib/apt/lists/*
18
+ RUN /bin/bash -c "hash -d npm"
19
+
14
20
# Enable tls v1.0
15
21
RUN echo "openssl_conf = openssl_configuration\n " |cat - /etc/ssl/openssl.cnf > /tmp/openssl_conf.cnf \
16
22
&& mv /tmp/openssl_conf.cnf /etc/ssl/openssl.cnf
@@ -35,12 +41,6 @@ RUN chown -Rh driver:driver /driver
35
41
RUN chown -Rh driver:driver /home/driver
36
42
WORKDIR /home/driver
37
43
38
- # Configuring NodeJS version
39
- RUN apt-get clean
40
- RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION:=10}.x | sh
41
- RUN apt-get install -y nodejs && rm -rf /var/lib/apt/lists/*
42
- RUN /bin/bash -c "hash -d npm"
43
-
44
44
USER driver
45
45
46
46
RUN node --version
You can’t perform that action at this time.
0 commit comments