distroless icon indicating copy to clipboard operation
distroless copied to clipboard

Question about deprecation for gcr.io/distroless, Container Registry

Open atpons opened this issue 1 year ago • 12 comments

According to https://cloud.google.com/container-registry/docs/release-notes#May_15_2023, it states that gcr.io/distroless are deprecated in Container Registry and users are required to migrate to Artifact Registry.

Do you have any plans to migration to Artifact Registry?

Thank you all for your contributing.

atpons avatar May 18 '23 07:05 atpons

I think we'll just be doing gcr.io hosted on artifact registry for a bit. But I haven't tested that out yet, but we're pretty safe for another year it looks like.

loosebazooka avatar May 18 '23 11:05 loosebazooka

@loosebazooka let me know if you want some help making the transition. There is a bit of extra work for Google owned repos. My team is going through the process for a couple GCR repos we own so we have a bit of experience.

matthewrobertson avatar May 18 '23 19:05 matthewrobertson

I have an issue b/297937428 impacting customers for my team that will not be fixed in GCR as it is deprecated. Is there a timeline for this?

j-windsor avatar Oct 04 '23 14:10 j-windsor

Any udpates about this ? Container Registry will be replaced by Artifact Registry on March 18, 2025.

grassehh avatar Mar 19 '24 08:03 grassehh

I'm still kinda slowly working on this. No timeline is available. But it'll get done before deprecation. We will still use the gcr.io urls.

loosebazooka avatar Mar 19 '24 12:03 loosebazooka

@loosebazooka looks like updates to gcr.io stopped coming as of March-11. Any idea why? Is there a workaround?

baraknaveh avatar Apr 26 '24 17:04 baraknaveh

Gcr.io is still serving images as far as I can tell.

loosebazooka avatar Apr 26 '24 18:04 loosebazooka

@loosebazooka still serving, but the last build creation dates are March 11

baraknaveh avatar Apr 26 '24 18:04 baraknaveh

Can you point me to what you're looking at

loosebazooka avatar Apr 26 '24 18:04 loosebazooka

EDIT: corrected the link

@loosebazooka I'm looking at https://console.cloud.google.com/gcr/images/distroless/global/base-debian12 (sorting by created time, descending).

We're experiencing a new incompatibility issue between a fully patched python:3.12-slim-bookworm and gcr.io/distroless/base-debian12 for a configuration that has been working for while now. My suspicion is that gcr.io/distroless/base-debian12 might have fallen behind on updates. Might be a red herring but the last created time of March-11 seems to align with this explanation.

baraknaveh avatar Apr 26 '24 18:04 baraknaveh

We were doing some active development around then with the distroless ruleset, those times may not be useful. "upload time" is probably what you want. You can assume at best that creation time is always some arbitrary time in the past.

loosebazooka avatar Apr 26 '24 19:04 loosebazooka

Thanks for clarifying! We'll keep investigating and I'll report back if we find anything share-worthy.

baraknaveh avatar Apr 26 '24 19:04 baraknaveh