Skip to content

Commit 4ca59ca

Browse files
committed
Changing order
1 parent 3109651 commit 4ca59ca

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
@@ -11,6 +11,12 @@ RUN apt-get update && \
1111
firefox \
1212
&& rm -rf /var/lib/apt/lists/*
1313

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+
1420
# Enable tls v1.0
1521
RUN echo "openssl_conf = openssl_configuration\n"|cat - /etc/ssl/openssl.cnf > /tmp/openssl_conf.cnf \
1622
&& mv /tmp/openssl_conf.cnf /etc/ssl/openssl.cnf
@@ -35,12 +41,6 @@ RUN chown -Rh driver:driver /driver
3541
RUN chown -Rh driver:driver /home/driver
3642
WORKDIR /home/driver
3743

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-
4444
USER driver
4545

4646
RUN node --version

0 commit comments

Comments
 (0)