Update cuda.Dockerfile
This commit is contained in:
parent
60151daef8
commit
a4aed1d302
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ WORKDIR /app
|
|||
COPY . .
|
||||
|
||||
RUN --mount=type=cache,target=/root/.ccache \
|
||||
--mount=type=cache,target=/var/lib/apt/lists \
|
||||
--mount=type=cache,target=/var/cache/apt \
|
||||
if [ "${CUDA_DOCKER_ARCH}" != "default" ]; then \
|
||||
export CMAKE_ARGS="-DCMAKE_CUDA_ARCHITECTURES=${CUDA_DOCKER_ARCH}"; \
|
||||
fi && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue