orjson: fix build (#11187)

Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63225
This commit is contained in:
manunio 2023-11-07 10:31:07 +05:30 committed by GitHub
parent ab2a4151bd
commit 7d75aebb90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -20,7 +20,10 @@ RUN apt-get update && apt-get install -y make autoconf automake libtool
RUN python3 -m pip install --upgrade pip
RUN rm -rf /usr/local/bin/cargo
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly-2022-07-26 --profile minimal -y
ARG rust_version=nightly
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain ${rust_version} --profile minimal -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN git clone --depth 1 https://github.com/ijl/orjson orjson