#Dagger. Do We Need It? (Ep 241)
1 messages · Page 1 of 1 (latest)
@potent parcel Thank you for the examples repo!
It sounds like you tried to perform the same steps as @austere kayak with the Slim module, etc, right?
I suspect that module is out of date. Will have to try it. I know that @fluid breach was working on an update to his version of that.
sounds good! unsure if it is the arch the slim image is built for or if it is something else.
Ah, okay, it could be an arch thing. What is the OS and Arch where you're running Dagger?
running on amd64 ubuntu in wsl
Did you run into anything like this?
that is the same issue I see
This particular slim module has arm hardcoded https://github.com/shykes/daggerverse/blob/dfb1f91fa463b779021d65011f0060f7decda0ba/slim/main.go#L25. And Docker Slim (the software behind that module) doesn't support cross-arch minification. You'll either need to be on arm or just fork that module 🙂
does anyone know anyone at chainguard? tould be nice to get a slim image from them https://images.chainguard.dev/
Chainguard Console
Do you mean a slim nginx image? I think they already have one https://hub.docker.com/r/chainguard/nginx. The idea of the slim module (and DockerSlim itself) is that you can get a slim version of almost any image dynamically generating it (while with Chainguard's approach, someone have to manually craft one for you).
Yes, there's an updated version for the module. Due to the Docker engine and Dagger changes the original version as demo'ed might not work as expected. Let me try to repro to see what I get.
my/official version picks the containerized version based on the environment architecture. i would recommend using that