File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ RUN apt-get update && \
16
16
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
17
17
apt-get update && \
18
18
apt-get install -y --no-install-recommends yarn && \
19
- npm install -g npm && \
19
+ npm install -g npm@^6.14 && \
20
20
apt-get clean && \
21
21
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
22
22
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ RUN apt-get update && \
16
16
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
17
17
apt-get update && \
18
18
apt-get install -y --no-install-recommends yarn && \
19
- npm install -g npm && \
19
+ npm install -g npm@^6.14 && \
20
20
apt-get clean && \
21
21
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
22
22
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ RUN apt-get update && \
16
16
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
17
17
apt-get update && \
18
18
apt-get install -y --no-install-recommends yarn && \
19
- npm install -g npm && \
19
+ npm install -g npm@^6.14 && \
20
20
apt-get clean && \
21
21
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
22
22
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ RUN apt-get update && \
18
18
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
19
19
apt-get update && \
20
20
apt-get install -y --no-install-recommends yarn && \
21
- npm install -g npm && \
21
+ npm install -g npm{{ if eq "10" $node_version }}@^6.14{{end}} && \
22
22
apt-get clean && \
23
23
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
24
24
You can’t perform that action at this time.
0 commit comments