Skip to content

Commit

Permalink
fix(dashboard): go back to the bitnami git image as distroless has no…
Browse files Browse the repository at this point in the history
… git :/ (#112)
  • Loading branch information
sasa-tomic committed Jan 25, 2024
1 parent 53c2def commit f76f58c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ oci_register_toolchains(
load("@rules_oci//oci:pull.bzl", "oci_pull")

oci_pull(
# Debian 12 image has a new glibc.
# Debian 12 image has a newer glibc than Debian 11 in regular distrolles containers.
# https://console.cloud.google.com/gcr/images/distroless/global/cc-debian12
name = "distroless_cc_debian12",
# Note: this is a "debug" image, which means that it has busybox, so also a shell at /busybox/sh
Expand All @@ -178,6 +178,7 @@ oci_pull(
"linux/amd64",
"linux/arm64",
],
reproducible = True,
)

oci_pull(
Expand All @@ -195,10 +196,11 @@ oci_pull(
)

oci_pull(
# tag = "2.43.0-debian-11-r1",
# tag = "2.43.0-debian-11-r6",
name = "bitnami_git_docker_img",
digest = "sha256:a8e11f1fdcb57ef7b2ab12995bb28b9060e7dbffa17f75136f523e92f6f270e0",
digest = "sha256:405124df0b75c75afc972cd73425838aacbd06a5dc4b7e0a2af4d9d3117163e8",
image = "index.docker.io/bitnami/git",
reproducible = True,
)

oci_pull(
Expand Down
2 changes: 1 addition & 1 deletion rs/ic-management-backend/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@ rust_test(
rust_binary_oci_image_rules(
name = "oci_image",
src = ":ic-management-backend",
base_image = "@distroless_cc_debian12",
base_image = "@bitnami_git_docker_img",
)

0 comments on commit f76f58c

Please sign in to comment.