docker-clojure icon indicating copy to clipboard operation
docker-clojure copied to clipboard

arm64 support for alpine

Open lucas42 opened this issue 1 year ago • 3 comments

According to the README:

Sometimes there are upstream eclipse-temurin images based on Alpine Linux.

As of 2022-9-29 these are available for the linux/amd64 architecture only.

However, since that was written, it now appears that eclipse-temurin's image supports alpine on architecture linux/arm64/v8 for JDK versions 21 & 22.

Would it be possible for docker-clojure to support arm64 in instances where it's available upstream? Thanks!

lucas42 avatar Sep 04 '24 22:09 lucas42

@lucas42 Thanks for letting us know about this! We can definitely add these to the build matrix.

cap10morgan avatar Sep 05 '24 18:09 cap10morgan

I'm working on this but it exposed a blind spot in our variant exclusion subsystem. Namely, it can't currently exclude an architecture from some JDK versions but not others. I'm going to see if I can teach it to do that while also consolidating & cleaning up some non-orthogonal code in that part of the build system.

But it will be a little longer in coming than I'd hoped.

cap10morgan avatar Sep 08 '24 17:09 cap10morgan

No problem! Thanks for taking a look. I'd normally offer to do a pull request myself, but I'm brand new to clojure, so I worry in this case I'd do more harm than good.

lucas42 avatar Sep 08 '24 20:09 lucas42