mirror of https://github.com/google/oss-fuzz.git
Fastify: fix dockerfile to downgrade nodejs to version 19.2 (#11390)
This PR fixes the Dockerfile for project fastify by switching the default nodejs version to 19.2 to avoid a strange failing of npm build in Docker as mentioned in https://github.com/nodejs/docker-node/issues/1912. Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
This commit is contained in:
parent
78022ba5e5
commit
56571ca23c
|
@ -18,6 +18,8 @@ FROM gcr.io/oss-fuzz-base/base-builder-javascript
|
|||
|
||||
COPY build.sh $SRC/
|
||||
|
||||
RUN npm install -g n && n 19.2
|
||||
|
||||
RUN git clone --depth 1 https://github.com/fastify/fastify fastify
|
||||
RUN git clone --depth 1 https://github.com/fastify/fast-json-stringify fast-json-stringify
|
||||
RUN git clone --depth 1 https://github.com/fastify/fastify-jwt fastify-jwt
|
||||
|
|
Loading…
Reference in New Issue