Skip to content

Commit 23180c3

Browse files
authored
Remove gulp install and set npm version to 7 in the .Dockerimage (#815)
The NPM 8 is returning 1 from some commands which were working without issues in NPM 7.
1 parent 2b53303 commit 23180c3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

testkit/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ RUN apt-get update && \
1313
firefox \
1414
&& rm -rf /var/lib/apt/lists/*
1515

16-
RUN npm install -g npm \
16+
RUN npm install -g npm@7 \
1717
&& /bin/bash -c "hash -d npm"
18-
RUN npm install -g gulp
1918

2019
# Enable tls v1.0
2120
RUN echo "openssl_conf = openssl_configuration\n"|cat - /etc/ssl/openssl.cnf > /tmp/openssl_conf.cnf \
@@ -40,4 +39,4 @@ USER driver
4039
WORKDIR /home/driver
4140
CMD /bin/bash
4241
RUN mkdir /home/driver/.npm_global
43-
RUN npm config set prefix /home/driver/.npm_global
42+
RUN npm config set prefix /home/driver/.npm_global

0 commit comments

Comments
 (0)