Skip to content

Commit 4eb53b5

Browse files
committed
fix(docsrc): Update docsrc container for bazel 3.4.1
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 253f55a commit 4eb53b5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: docker/Dockerfile.docs

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ FROM nvcr.io/nvidia/tensorrt:20.03-py3
33
RUN curl https://bazel.build/bazel-release.pub.gpg | apt-key add -
44
RUN echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list
55

6-
RUN apt update && apt install bazel-3.4.1
6+
RUN apt-get update && apt-get install bazel-3.4.1
77
RUN ln -s /usr/bin/bazel-3.4.1 /usr/bin/bazel
88

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
911

1012
COPY ./py/requirements.txt requirements.txt
1113
RUN pip3 install -r requirements.txt

0 commit comments

Comments
 (0)