Skip to content

Commit

Permalink
Add bazel 6 (#40)
Browse files Browse the repository at this point in the history
* Add bazel 6 binary

* Fix
  • Loading branch information
anakinxc authored Jul 18, 2023
1 parent 83c0883 commit a31802c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dockerfiles/ubuntu-base-ci.DockerFile
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,12 @@ RUN ln -s /root/miniconda3/bin/python3 /usr/bin/python3

# install bazel
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ] ; then BAZEL_ARCH=arm64 ; else BAZEL_ARCH=x86_64 ; fi \
&& wget https://mirrors.huaweicloud.com/bazel/5.4.1/bazel-5.4.1-linux-$BAZEL_ARCH \
&& wget https://github.com/bazelbuild/bazel/releases/download/5.4.1/bazel-5.4.1-linux-$BAZEL_ARCH \
&& mv bazel-5.4.1-linux-$BAZEL_ARCH /usr/bin/bazel \
&& chmod +x /usr/bin/bazel
&& chmod +x /usr/bin/bazel \
&& wget https://github.com/bazelbuild/bazel/releases/download/6.2.1/bazel-6.2.1-linux-$BAZEL_ARCH \
&& mv bazel-6.2.1-linux-$BAZEL_ARCH /usr/bin/bazel-6.2.1-linux-$BAZEL_ARCH \
&& chmod +x /usr/bin/bazel-6.2.1-linux-$BAZEL_ARCH

# run as root for now
WORKDIR /home/admin/
Expand Down

0 comments on commit a31802c

Please sign in to comment.