Skip to content

Commit 2be8ef9

Browse files
committed
refactor(//docker): Downgrade clang-format since clang-format 10 changes
everything Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent df63467 commit 2be8ef9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/Dockerfile.docs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ FROM nvcr.io/nvidia/tensorrt:20.10-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-get update && apt-get install -y bazel-3.7.1 clang-format
6+
RUN apt-get update && apt-get install -y bazel-3.7.1 clang-format-9
77
RUN ln -s /usr/bin/bazel-3.7.1 /usr/bin/bazel
8+
RUN ln -s $(which clang-format-9) /usr/bin/clang-format
89

910
# Workaround for bazel expecting both static and shared versions, we only use shared libraries inside container
1011
RUN cp /usr/lib/x86_64-linux-gnu/libnvinfer.so /usr/lib/x86_64-linux-gnu/libnvinfer_static.a

0 commit comments

Comments
 (0)