From 7d75aebb906b1a4587f693b343e383de06848b36 Mon Sep 17 00:00:00 2001 From: manunio Date: Tue, 7 Nov 2023 10:31:07 +0530 Subject: [PATCH] orjson: fix build (#11187) Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63225 --- projects/orjson/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/projects/orjson/Dockerfile b/projects/orjson/Dockerfile index a158f5837..97c143b29 100644 --- a/projects/orjson/Dockerfile +++ b/projects/orjson/Dockerfile @@ -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