File tree 1 file changed +7
-5
lines changed
src/ci/docker/host-x86_64/x86_64-gnu-tools
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -66,14 +66,16 @@ COPY host-x86_64/x86_64-gnu-tools/checktools.sh /tmp/
66
66
RUN curl -sL https://nodejs.org/dist/v14.4.0/node-v14.4.0-linux-x64.tar.xz | tar -xJ
67
67
ENV PATH="/node-v14.4.0-linux-x64/bin:${PATH}"
68
68
69
+ # For now, we need to use `--unsafe-perm=true` to go around an issue when npm tries
70
+ # to create a new folder. For reference:
71
+ # https://github.com/puppeteer/puppeteer/issues/375
72
+ #
73
+ # We also specify the version in case we need to update it to go around cache limitations.
74
+ RUN npm install -g
[email protected] --unsafe-perm=true
75
+
69
76
ENV RUST_CONFIGURE_ARGS \
70
77
--build=x86_64-unknown-linux-gnu \
71
78
--save-toolstates=/tmp/toolstate/toolstates.json
72
79
73
- # Install required dependencies from browser-UI-test framework
74
- # For now, we need to use `--unsafe-perm=true` to go around an issue when npm tries
75
- # to create a new folder. For reference:
76
- # https://github.com/puppeteer/puppeteer/issues/375
77
80
ENV SCRIPT /tmp/checktools.sh ../x.py && \
78
- npm install -g browser-ui-test --unsafe-perm=true && \
79
81
NODE_PATH=`npm root -g` python3 ../x.py test src/test/rustdoc-gui --stage 2
You can’t perform that action at this time.
0 commit comments