Closed alexander-yakushev closed 7 months ago
Hey @alexander-yakushev yeah I just posted #222 that does nearly the same thing. Thanks for this but I'm going to go with #222 after I make sure we don't arbitrarily uninstall curl after building (thanks for reminding me about that). Among other things, I removed the need to depend on wget entirely at build time in tools-deps images.
I saw you said you are working on the fix already, but you might as well consider this fix.
What this does:
wget
a build-time dependency for Ubuntu. Sincewget
is present in both Focal and Jammy, it doesn't have to be installed, and it now would not be purged from the resulting image (making Clojure images more consistent with base Temurin images).curl
to runtime dependencies for Ubuntu. This is done to install it during build on Jammy (where it is missing) but not remove it at the end on Focal. Because removing it in the end on Focal may break some user builds.Ideally, the two distros can be split and have their custom dependencies, but this is a fix for now.