Skip to content

Commit

Permalink
Add CUDA 12 docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Oct 12, 2023
1 parent 163218d commit be6e7e1
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASEIMAGE=nvidia/cuda:11.8.0-cudnn8-devel-ubi8
ARG BASEIMAGE=nvidia/cuda:11.8.0-devel-ubi8
ARG POLICY=manylinux_2_28
ARG PLATFORM=x86_64
ARG DEVTOOLSET_ROOTPATH=
Expand Down Expand Up @@ -163,10 +163,8 @@ CMD ["/bin/bash"]
#Build manylinux2014 docker image end

#Install TensorRT 8.6.1.6
#RUN yum install -y wget
RUN v="8.6.1.6-1.cuda11.8" &&\
yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.repo &&\
yum -y install libnvinfer8-${v} libnvparsers8-${v} libnvonnxparsers8-${v} libnvinfer-plugin8-${v} libnvinfer-vc-plugin8-${v}\
dnf -y install libcudnn8-devel libnvinfer8-${v} libnvparsers8-${v} libnvonnxparsers8-${v} libnvinfer-plugin8-${v} libnvinfer-vc-plugin8-${v}\
libnvinfer-devel-${v} libnvparsers-devel-${v} libnvonnxparsers-devel-${v} libnvinfer-plugin-devel-${v} libnvinfer-vc-plugin-devel-${v} libnvinfer-headers-devel-${v} libnvinfer-headers-plugin-devel-${v}
ENV JAVA_HOME=/usr/lib/jvm/msopenjdk-11
#Add our own dependencies
Expand Down

0 comments on commit be6e7e1

Please sign in to comment.