Skip to content

Commit

Permalink
Removed rust toolchain workaround in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
andrecsilva committed Oct 10, 2023
1 parent 0603723 commit 569dfd9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 569dfd9

Please sign in to comment.