Hi,
Consider the following Dockerfile:
FROM nvidia/cuda:10.0-base-ubuntu16.04
ENV TENSORRT_VERSION=5.1.2
RUN apt-get update && \
apt-get install -y --no-install-recommends \
libnvinfer5=${TENSORRT_VERSION}-1+cuda10.0 && \
apt-mark hold libnvinfer5 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
It fails to build with the following error:
E: Unable to locate package libnvinfer5
Looks like the issue is that the new libnvinfer* packages are not declared in https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64/Packages.gz
Thanks for looking into this,
Guillaume