We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f212ee7 commit 1c444ddCopy full SHA for 1c444dd
Dockerfile
@@ -29,8 +29,12 @@ RUN $APT_UPDATE && $APT_INSTALL \
29
30
# force npm to use cross-spawn@7.0.5
31
RUN npm_root=$(npm root -g) \
32
- && cd "$npm_root/npm" \
33
- && npm install cross-spawn@7.0.5 --no-save
+ && npm pack cross-spawn@7.0.5 -q \
+ && mkdir -p "$npm_root/npm/node_modules/cross-spawn" \
34
+ && tar -xzf cross-spawn-7.0.5.tgz \
35
+ --strip-components=1 \
36
+ -C "$npm_root/npm/node_modules/cross-spawn" \
37
+ && rm cross-spawn-7.0.5.tgz
38
39
# Install .NET sdk
40
# check this page for the links and hash
0 commit comments