aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJoey Jiao <quic_jiangenj@quicinc.com>2024-07-12 11:21:10 +0800
committerAleksandr Nogikh <nogikh@google.com>2024-08-29 14:28:35 +0000
commitcf4e576ab85e80354c6f5ac40f22a92afb199bcc (patch)
tree0b1a55b82839031ef347f285d9f884941a605044 /tools
parente46dcff2767435630f9f28e4e5ea141309798801 (diff)
all: add npm package to syz-env
act(https://github.com/nektos/act) is used to build github workflow locally. When running `act -j build` in local host, it reports: exec failed: unable to start container process: exec: "node": executable file not found in $PATH: unknown. Adding nodejs package can fix the build error. Updated docs with act usage too.
Diffstat (limited to 'tools')
-rw-r--r--tools/docker/env/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/docker/env/Dockerfile b/tools/docker/env/Dockerfile
index 699923093..cde05118b 100644
--- a/tools/docker/env/Dockerfile
+++ b/tools/docker/env/Dockerfile
@@ -94,6 +94,9 @@ RUN cd /tmp/Python-2.7.18 && ./configure
RUN cd /tmp/Python-2.7.18 && make -j2 && make altinstall
RUN ln -s /usr/local/bin/python2.7 /usr/bin/python2
+# Install node to pass act jobs (https://github.com/nektos/act)
+RUN apt-get install -y -q nodejs
+
# Install gcloud sdk for dashboard/app tests.
# The newest version (as of 07/10/23) is 437, however, it seems to expect to be run with python3
# (but still requires python2). But Go's aetest package still runs dev_appserver.py with python2.7.