Skip to content

fix: RUN export does not persist CUDA_HOME across Docker layers - #68

Open
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/dockerfile-932fbd1d
Open

fix: RUN export does not persist CUDA_HOME across Docker layers#68
andrewwhitecdw wants to merge 1 commit into
NVlabs:mainfrom
andrewwhitecdw:bugfix/dockerfile-932fbd1d

Conversation

@andrewwhitecdw

Copy link
Copy Markdown

Problem

fix: RUN export does not persist CUDA_HOME across Docker layers

Fix

Replace:

# Set CUDA_ROOT
RUN export CUDA_HOME="/usr/local/cuda"

with:

# Set CUDA_HOME
ENV CUDA_HOME="/usr/local/cuda"

Files changed

  • docker/Dockerfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant