From cf4e576ab85e80354c6f5ac40f22a92afb199bcc Mon Sep 17 00:00:00 2001 From: Joey Jiao Date: Fri, 12 Jul 2024 11:21:10 +0800 Subject: 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. --- tools/docker/env/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') 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. -- cgit mrf-deployment