Skip to content

Commit 70e9e56

Browse files
openapi-schema-validator: fix build (#10589)
Signed-off-by: David Korczynski <david@adalogics.com>
1 parent 0463aa2 commit 70e9e56

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

projects/openapi-schema-validator/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# limitations under the License.
1515
FROM gcr.io/oss-fuzz-base/base-builder-python
1616
RUN pip3 install --upgrade pip
17+
RUN git clone --depth=1 https://github.com/python-jsonschema/jsonschema-specifications jsonschema_specifications
1718
RUN git clone https://github.com/p1c2u/openapi-schema-validator openapi-schema-validator
1819
COPY *.sh *py $SRC/
1920
WORKDIR $SRC/openapi-schema-validator

projects/openapi-schema-validator/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
pip3 install .
1818
# Build fuzzers in $OUT.
1919
for fuzzer in $(find $SRC -name 'fuzz_*.py'); do
20-
compile_python_fuzzer $fuzzer
20+
compile_python_fuzzer $fuzzer --add-data $SRC/jsonschema_specifications/jsonschema_specifications/schemas:jsonschema_specifications/schemas
2121
done

0 commit comments

Comments
 (0)