forked from u-root/gobusybox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is necessary because the new rules_go and gazelle versions require a version of bazel newer than what's in the GCR docker image pre-built by the bazel team. Apparently, they stopped building those in 2020. bazelbuild/continuous-integration#1060 Signed-off-by: Chris Koch <chrisko@google.com>
- Loading branch information
Showing
2 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
FROM cimg/base:2022.03 | ||
|
||
RUN sudo apt install apt-transport-https curl gnupg; \ | ||
curl -fsSL https://bazel.build/bazel-release.pub.gpg | \ | ||
gpg --dearmor > bazel.gpg; \ | ||
sudo mv bazel.gpg /etc/apt/trusted.gpg.d/; \ | ||
echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list; | ||
|
||
RUN sudo apt-get update && \ | ||
sudo apt-get install -y --no-install-recommends bazel; |