cromwell icon indicating copy to clipboard operation
cromwell copied to clipboard

Build Docker image for arm64

Open davidlougheed opened this issue 1 year ago • 3 comments

Right now, only images for the amd64 architecture are available on DockerHub. Given that Docker is well-supported on ASi/ARM chips, it would be helpful to have a native arm64 image automatically built, rather than needing to run a non-native image unless I build it myself.

davidlougheed avatar Mar 29 '23 19:03 davidlougheed

It looks like our Docker SBT plugin recently added support for the required buildx command.

https://github.com/marcuslonnberg/sbt-docker/pull/131

aednichols avatar Apr 04 '23 17:04 aednichols

I started a branch here but run into this error, which seems to be widespread on the 'net.

docker exporter does not currently support exporting manifest lists

aednichols avatar Apr 04 '23 22:04 aednichols

Interestingly, I can get it to build for a single arch at once just fine [0] and the error is caused by lack of support for multiarch images somewhere in the local toolchain.

[0] platforms = List("linux/arm64")

aednichols avatar Apr 04 '23 23:04 aednichols