Skip to content

Commit a6f1fd4

Browse files
committed
Clearing the bash cache
1 parent 15114dc commit a6f1fd4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

testkit/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ FROM ubuntu:20.04
22

33
ENV DEBIAN_FRONTEND noninteractive
44
ENV NODE_OPTIONS --max_old_space_size=4096
5+
6+
# Set bash as the shell
57
SHELL ["/bin/bash", "--login", "-c"]
68

79
RUN apt-get update && \
@@ -42,6 +44,7 @@ RUN mkdir /home/driver/.npm_global
4244
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
4345
RUN nvm install ${NODE_VERSION:=10}
4446
RUN nvm use ${NODE_VERSION:=10}
47+
RUN hash -c npm
4548

4649
# Confiugure home directory
4750
RUN npm config set prefix /home/driver/.npm_global

0 commit comments

Comments
 (0)