text: """ Base images. """
  
  load("@io_bazel_rules_docker//container:container.bzl", "container_pull")
  
  def base_images():
      """define base images."""
  
      # https://gcr.io/distroless/java17-debian11:nonroot-amd64
      container_pull(
          name = "java17_amd64",
          architecture = "amd64",
          digest = "sha256:fd7a88bd2788982c4d3ca171da351fe9a74cd074cda327045d1876bde93d3ee5",
          os = "linux",
          registry = "gcr.io",
          repository = "distroless/java17-debian11",
          tag = "nonroot-amd64",
      )
  
      # https://gcr.io/distroless/java17-debian11:nonroot-arm64
      container_pull(
          name = "java17_arm64",
          architecture = "arm64",
          digest = "sha256:c222c2c7b8302e3134146d46d14afd911f6febd28ab32675e0333981f8846e96",
          os = "linux",
          registry = "gcr.io",
          repository = "distroless/java17-debian11",
          tag = "nonroot-arm64",
      )
  