Skip to content

Commit

Permalink
Switch to l.gcr.io/google/debian10
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Menezes committed Sep 14, 2020
1 parent e6d760c commit 9f45bb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
7 changes: 3 additions & 4 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@ load(
container_pull(
name = "debian-base-amd64",
architecture = "amd64",
digest = "sha256:dc06e242160076b72bd75135fb3dd0a9e91f386b2d812ec10cbf9e65864c755d",
registry = "k8s.gcr.io/build-image",
repository = "debian-base-amd64",
tag = "v2.1.3", # ignored, but kept here for documentation
digest = "sha256:30a33eaa75d591bd8a5ec1caee5259f79158c574615c8e06142a0f2ab2fec7cc",
registry = "l.gcr.io/google",
repository = "debian10",
)

#=============================================================================
Expand Down
18 changes: 1 addition & 17 deletions images/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -109,25 +109,9 @@ load("@io_bazel_rules_docker//docker/package_managers:download_pkgs.bzl", "downl
load("@io_bazel_rules_docker//docker/package_managers:install_pkgs.bzl", "install_pkgs")

# Install deps because we need nsenter / fsck
download_pkgs(
name = "required_pkgs",
image_tar = "@debian-base-amd64//image:image.tar",
packages = [
"mount",
"util-linux",
],
)

install_pkgs(
name = "debian-base-with-req-pkgs-amd64",
image_tar = "@debian-base-amd64//image:image.tar",
installables_tar = ":required_pkgs.tar",
output_image_name = "debian-base-with-req-pkgs-amd64",
)

container_image(
name = "etcd-manager-base",
base = ":debian-base-with-req-pkgs-amd64",
base = "@debian-base-amd64//image",
directory = "/opt",
layers = [
"etcd-2-2-1-layer",
Expand Down

0 comments on commit 9f45bb7

Please sign in to comment.