Skip to content

Commit 569dfd9

Browse files
committed
Removed rust toolchain workaround in Dockerfile
1 parent 0603723 commit 569dfd9

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

Dockerfile

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@ FROM python:3.11
22
WORKDIR /codemodder
33
COPY . .
44

5-
# Install Rust (temporary workaround for libcst dependency)
6-
RUN apt-get update && \
7-
apt-get install -y curl && \
8-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
9-
apt-get remove -y curl && \
10-
apt-get autoremove -y && \
11-
apt-get clean && \
12-
rm -rf /var/lib/apt/lists/*
13-
ENV PATH="/root/.cargo/bin:${PATH}"
14-
155
RUN pip install .
166

177
ENTRYPOINT ["codemodder"]

0 commit comments

Comments
 (0)