chainguard-images / images

Public Chainguard Images
https://chainguard.dev/chainguard-images
Apache License 2.0
542 stars 140 forks source link

Static does not build images that the documentation states it does #1189

Closed jsheffield-roblox closed 1 year ago

jsheffield-roblox commented 1 year ago

Hiya all thanks for your work on this. Noticed when reading through the documentation, the docs for static state that it has 6 variants, but the actual terraform does not seem to build those

Testing locally, this appears to be the case:

$ docker pull cgr.dev/chainguard/static:latest-dev
Error response from daemon: manifest for cgr.dev/chainguard/static:latest-dev not found: manifest unknown: Unknown manifest

Is it intended that static images don't have dev variants? If so, would it be troublesome to make it build the dev variants? Being able to debug the image locally would be very useful without having to switch to the bash base.

amouat commented 1 year ago

I'll look into what's happening with the variants. But I note that latest-devwill effectively be the same image as cgr.dev/chainguard/wolfi-base in this case.

amouat commented 1 year ago

The page should be updated now. It is intentional not to include the -dev variant, as that's effectively wolfi-base.

That said, I'm open to arguments for creating latest-dev - if you feel strongly about it, could you open a new issue?