File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ RUN rm -rf /opt/torch-tensorrt /usr/bin/bazel
10
10
11
11
ARG ARCH="x86_64"
12
12
ARG TARGETARCH="amd64"
13
- ARG BAZEL_VERSION=4.0.0
13
+ ARG BAZEL_VERSION=4.2.1
14
14
15
15
RUN [[ "$TARGETARCH" == "amd64" ]] && ARCH="x86_64" || ARCH="${TARGETARCH}" \
16
16
&& wget -q https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-linux-${ARCH} -O /usr/bin/bazel \
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ FROM nvcr.io/nvidia/tensorrt:21.02-py3
3
3
RUN curl https://bazel.build/bazel-release.pub.gpg | apt-key add -
4
4
RUN echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list
5
5
6
- RUN apt-get update && apt-get install -y bazel-4.0.0 clang-format-9 libjpeg9 libjpeg9-dev
7
- RUN ln -s /usr/bin/bazel-4.0.0 /usr/bin/bazel
6
+ RUN apt-get update && apt-get install -y bazel-4.2.1 clang-format-9 libjpeg9 libjpeg9-dev
7
+ RUN ln -s /usr/bin/bazel-4.2.1 /usr/bin/bazel
8
8
RUN ln -s $(which clang-format-9) /usr/bin/clang-format
9
9
10
10
# Workaround for bazel expecting both static and shared versions, we only use shared libraries inside container
You can’t perform that action at this time.
0 commit comments