Skip to content

Commit 00192f2

Browse files
authored
Fix CUDA_HOME env var
1 parent 2a33c9f commit 00192f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ ENV GIT_COMMIT=${GIT_COMMIT} \
202202
RUN echo "$GIT_COMMIT" > /etc/git_commit && echo "$BUILD_DATE" > /etc/build_date
203203

204204
{{ if eq .Accelerator "gpu" }}
205-
# Add the CUDA home.
206-
CUDA_HOME=/usr/local/cuda
205+
# Add the CUDA home.
206+
ENV CUDA_HOME=/usr/local/cuda
207207
{{ end }}
208208
ENTRYPOINT ["/usr/bin/env"]

0 commit comments

Comments
 (0)