We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 253f55a commit 4eb53b5Copy full SHA for 4eb53b5
docker/Dockerfile.docs
@@ -3,9 +3,11 @@ FROM nvcr.io/nvidia/tensorrt:20.03-py3
3
RUN curl https://bazel.build/bazel-release.pub.gpg | apt-key add -
4
RUN echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list
5
6
-RUN apt update && apt install bazel-3.4.1
+RUN apt-get update && apt-get install bazel-3.4.1
7
RUN ln -s /usr/bin/bazel-3.4.1 /usr/bin/bazel
8
9
+# Workaround for bazel expecting both static and shared versions, we only use shared libraries inside container
10
+RUN cp /usr/lib/x86_64-linux-gnu/libnvinfer.so /usr/lib/x86_64-linux-gnu/libnvinfer_static.a
11
12
COPY ./py/requirements.txt requirements.txt
13
RUN pip3 install -r requirements.txt
0 commit comments