Skip to content

Commit

Permalink
copy from does not support interpolation; per https://forums.docker.c…
Browse files Browse the repository at this point in the history
  • Loading branch information
agt committed Jul 20, 2023
1 parent 116f290 commit 1ec7f23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@

# obtain from: https://catalog.ngc.nvidia.com/orgs/nvidia/containers/cuda/tags
ARG NVCR_CUDA=nvcr.io/nvidia/cuda:11.8.0-devel-ubuntu20.04
FROM ${NVCR_CUDA} as cuda

FROM ucsdets/scipy-ml-notebook:2023.2-stable

COPY --from=$NVCR_CUDA /usr/local/cuda-11.8 /usr/local/cuda-11.8
COPY --from=cuda /usr/local/cuda-11.8 /usr/local/cuda-11.8

USER root
RUN ln -s cuda-11.8 /usr/local/cuda && ln -s cuda-11.8 /usr/local/cuda-11
Expand Down

0 comments on commit 1ec7f23

Please sign in to comment.