libcst: fix build (#10985)

Signed-off-by: David Korczynski <david@adalogics.com>
This commit is contained in:
DavidKorczynski 2023-09-19 01:55:29 +01:00 committed by GitHub
parent b030f5c948
commit ff639ce427
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -15,12 +15,12 @@
FROM gcr.io/oss-fuzz-base/base-builder-python
RUN git clone https://github.com/instagram/libcst libcst
RUN apt-get install build-essential libssl-dev libffi-dev python3-dev cargo -y
RUN apt-get install build-essential libssl-dev libffi-dev pkg-config python3-dev cargo -y
RUN pip3 install --upgrade pip
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN rustup install nightly
RUN rustup default nightly
RUN rustup default stable
COPY *.sh *py $SRC/
WORKDIR $SRC/libcst