Skip to content

Commit

Permalink
Update Dockerfile.cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
djthorpe authored Aug 11, 2024
1 parent 8622d88 commit 1b42196
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile.cuda
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ARG ARCH
ARG CUDA

RUN apt-get update \
&& apt-get -y install ca-certificates gnupg wget libgomp1 build-essential git pkg-config \
&& apt-get -y install ca-certificates gnupg wget build-essential git pkg-config \
&& wget https://developer.download.nvidia.com/compute/cuda/repos/${DISTRO}/${ARCH}/cuda-keyring_1.1-1_all.deb \
&& dpkg -i cuda-keyring_1.1-1_all.deb \
&& rm cuda-keyring_1.1-1_all.deb \
Expand Down Expand Up @@ -57,7 +57,6 @@ COPY --from=build /usr/local/cuda/lib64/stubs/libcuda.so /usr/local/cuda/lib64/s

FROM ${TARGET}
ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda/lib64/stubs
ENV PKG_CONFIG_PATH=/usr/lib/pkgconfig
ENV PATH=/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV NVIDIA_ARCH="${ARCH}"
ENV NVIDIA_CUDA_VERSION="${CUDA}"
Expand Down

0 comments on commit 1b42196

Please sign in to comment.