From 4fda9a5cb8fabe9794ee0287d21916cc2caab976 Mon Sep 17 00:00:00 2001 From: Jeremy Kun Date: Wed, 6 Sep 2023 06:35:56 -0700 Subject: [PATCH] fixes https://github.com/google/fully-homomorphic-encryption/issues/66 PiperOrigin-RevId: 563087467 --- docker/debian-bullseye.Dockerfile | 6 +++--- docker/ubuntu-jammy.Dockerfile | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker/debian-bullseye.Dockerfile b/docker/debian-bullseye.Dockerfile index 8440cad..bf9a9ac 100644 --- a/docker/debian-bullseye.Dockerfile +++ b/docker/debian-bullseye.Dockerfile @@ -33,9 +33,9 @@ RUN apt-get update && apt-get install -y \ bison \ wget -# Install bazel -RUN wget -O bazel "https://github.com/bazelbuild/bazel/releases/download/5.3.2/bazel-5.3.2-linux-x86_64" \ - && test "973e213b1e9207ccdd3ea4730c0f92cbef769ec112ac2b84980583220d8db845 bazel" = "$(sha256sum bazel)" \ +# Install bazelisk as bazel +RUN wget -O bazel "https://github.com/bazelbuild/bazelisk/releases/download/v1.12.0/bazelisk-linux-amd64" \ + && test "6b0bcb2ea15bca16fffabe6fda75803440375354c085480fe361d2cbf32501db bazel" = "$(sha256sum bazel)" \ && chmod +x bazel \ && mv bazel /bin/bazel diff --git a/docker/ubuntu-jammy.Dockerfile b/docker/ubuntu-jammy.Dockerfile index 8b47e78..6ef4289 100644 --- a/docker/ubuntu-jammy.Dockerfile +++ b/docker/ubuntu-jammy.Dockerfile @@ -33,9 +33,9 @@ RUN apt-get update && apt-get install -y \ bison \ wget -# Install bazel -RUN wget -O bazel "https://github.com/bazelbuild/bazel/releases/download/5.3.2/bazel-5.3.2-linux-x86_64" \ - && test "973e213b1e9207ccdd3ea4730c0f92cbef769ec112ac2b84980583220d8db845 bazel" = "$(sha256sum bazel)" \ +# Install bazelisk as bazel +RUN wget -O bazel "https://github.com/bazelbuild/bazelisk/releases/download/v1.12.0/bazelisk-linux-amd64" \ + && test "6b0bcb2ea15bca16fffabe6fda75803440375354c085480fe361d2cbf32501db bazel" = "$(sha256sum bazel)" \ && chmod +x bazel \ && mv bazel /bin/bazel