From 569dfd9e4cd386f00a67105a9e061ff41e37afb2 Mon Sep 17 00:00:00 2001 From: andrecs <12188364+andrecsilva@users.noreply.github.com> Date: Mon, 9 Oct 2023 13:26:22 -0300 Subject: [PATCH] Removed rust toolchain workaround in Dockerfile --- Dockerfile | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 750e4b2d..79289259 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,16 +2,6 @@ FROM python:3.11 WORKDIR /codemodder COPY . . -# Install Rust (temporary workaround for libcst dependency) -RUN apt-get update && \ - apt-get install -y curl && \ - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \ - apt-get remove -y curl && \ - apt-get autoremove -y && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* -ENV PATH="/root/.cargo/bin:${PATH}" - RUN pip install . ENTRYPOINT ["codemodder"]