Skip to content

Commit 6d4762b

Browse files
author
Olivier Chafik
committed
Revert "docker: ccache"
This reverts commit 19d8922.
1 parent 3d415e1 commit 6d4762b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.devops/cuda.Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,13 @@ FROM ${BASE_CUDA_DEV_CONTAINER} AS build
1212
ARG CUDA_DOCKER_ARCH=default
1313

1414
RUN apt-get update && \
15-
apt-get install -y build-essential cmake python3 python3-pip git libcurl4-openssl-dev libgomp1 ccache
15+
apt-get install -y build-essential cmake python3 python3-pip git libcurl4-openssl-dev libgomp1
1616

1717
WORKDIR /app
1818

1919
COPY . .
2020

21-
RUN --mount=type=cache,target=/root/.ccache \
22-
--mount=type=cache,target=/var/lib/apt/lists \
23-
--mount=type=cache,target=/var/cache/apt \
24-
if [ "${CUDA_DOCKER_ARCH}" != "default" ]; then \
21+
RUN if [ "${CUDA_DOCKER_ARCH}" != "default" ]; then \
2522
export CMAKE_ARGS="-DCMAKE_CUDA_ARCHITECTURES=${CUDA_DOCKER_ARCH}"; \
2623
fi && \
2724
cmake -B build -DGGML_NATIVE=OFF -DGGML_CUDA=ON -DLLAMA_CURL=ON ${CMAKE_ARGS} -DCMAKE_EXE_LINKER_FLAGS=-Wl,--allow-shlib-undefined . && \

0 commit comments

Comments
 (0)