Skip to content

Commit 4d38065

Browse files
committed
devops: remove rustc installation in build
Signed-off-by: Aaron Teo <[email protected]>
1 parent 67cf895 commit 4d38065

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.devops/s390x.Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,9 @@ RUN --mount=type=cache,target=/var/cache/apt \
1414
libcurl4-openssl-dev libopenblas-openmp-dev && \
1515
rm -rf /var/lib/apt/lists/*
1616

17-
# Install rustc for pip installation
18-
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
19-
2017
WORKDIR /app
2118
COPY . .
2219

23-
RUN pip3 install --no-cache-dir --prefix=/gguf-py -r requirements.txt
24-
2520
RUN --mount=type=cache,target=/root/.ccache \
2621
--mount=type=cache,target=/app/build \
2722
cmake -S . -B build -G Ninja \
@@ -103,8 +98,7 @@ RUN --mount=type=cache,target=/var/cache/apt \
10398
find /var/cache/apt/archives /var/lib/apt/lists -not -name lock -type f -delete && \
10499
find /var/cache -type f -delete
105100

106-
RUN --mount=type=cache,target=/root/.cargo \
107-
curl https://sh.rustup.rs -sSf | bash -s -- -y && \
101+
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y && \
108102
pip install -r /app/gguf-py/requirements.txt
109103

110104
ENTRYPOINT [ "/app/tools.sh" ]

0 commit comments

Comments
 (0)