diff --git a/templates/tools/dockerfile/test/bazel/Dockerfile.template b/templates/tools/dockerfile/test/bazel/Dockerfile.template index b440cb49d90..111c1bfa5b5 100644 --- a/templates/tools/dockerfile/test/bazel/Dockerfile.template +++ b/templates/tools/dockerfile/test/bazel/Dockerfile.template @@ -14,7 +14,13 @@ # See the License for the specific language governing permissions and # limitations under the License. - FROM gcr.io/oss-fuzz-base/base-builder + # Pinned version of the base image is used to avoid regressions caused + # by rebuilding of this docker image. To see available versions, you can run + # "gcloud container images list-tags gcr.io/oss-fuzz-base/base-builder" + # TODO(jtattermusch): with the latest version we'd get clang12+ + # which makes our build fail due to new warnings being treated + # as errors. + FROM gcr.io/oss-fuzz-base/base-builder@sha256:de220fd2433cd53bd06b215770dcd14a5e74632e0215acea7401fee8cafb18da # -------------------------- WARNING -------------------------------------- # If you are making changes to this file, consider changing diff --git a/tools/dockerfile/test/bazel/Dockerfile b/tools/dockerfile/test/bazel/Dockerfile index a0780b43bee..ec7cb392c96 100644 --- a/tools/dockerfile/test/bazel/Dockerfile +++ b/tools/dockerfile/test/bazel/Dockerfile @@ -12,7 +12,13 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM gcr.io/oss-fuzz-base/base-builder +# Pinned version of the base image is used to avoid regressions caused +# by rebuilding of this docker image. To see available versions, you can run +# "gcloud container images list-tags gcr.io/oss-fuzz-base/base-builder" +# TODO(jtattermusch): with the latest version we'd get clang12+ +# which makes our build fail due to new warnings being treated +# as errors. +FROM gcr.io/oss-fuzz-base/base-builder@sha256:de220fd2433cd53bd06b215770dcd14a5e74632e0215acea7401fee8cafb18da # -------------------------- WARNING -------------------------------------- # If you are making changes to this file, consider changing