Skip to content

Commit 092575a

Browse files
jsonschema: fix build (#10020)
Signed-off-by: David Korczynski <david@adalogics.com>
1 parent 5addf68 commit 092575a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

projects/jsonschema/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@
1515
################################################################################
1616

1717
FROM gcr.io/oss-fuzz-base/base-builder-python
18-
RUN pip3 install hypothesis
18+
RUN pip3 install --upgrade pip hypothesis rpds
1919

2020
RUN git clone --depth=1 https://github.com/Julian/jsonschema
21+
RUN git clone --depth=1 https://github.com/python-jsonschema/jsonschema-specifications jsonschema_specifications
2122
WORKDIR $SRC/jsonschema
2223

2324
COPY build.sh $SRC/

projects/jsonschema/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ pip3 install .
1919

2020
# Build fuzzers in $OUT.
2121
for fuzzer in $(find $SRC -name 'fuzz_*.py'); do
22-
compile_python_fuzzer $fuzzer
22+
compile_python_fuzzer $fuzzer --add-data $SRC/jsonschema_specifications/jsonschema_specifications/schemas:jsonschema_specifications/schemas
2323
done

0 commit comments

Comments
 (0)