File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,15 @@ RUN $APT_UPDATE && $APT_INSTALL \
2727 unzip software-properties-common apt-transport-https \
2828 openjdk-11-jdk xvfb siege apache2-utils git make nodejs locales tsung libtool libssl-dev libyaml-dev libxml2-dev libxslt-dev
2929
30+ # force npm to use cross-spawn@7.0.5, this block can be removed when new version of nodejs uses cross-spawn@7.0.5
31+ RUN npm_root=$(npm root -g) \
32+ && npm pack cross-spawn@7.0.5 -q \
33+ && 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+
3039# Install .NET sdk
3140# check this page for the links and hash
3241# https://dotnetcli.azureedge.net/dotnet/release-metadata/8.0/releases.json
You can’t perform that action at this time.
0 commit comments