ConsensusJ / btcproxy

Bitcoin JSON-RPC Proxy Daemon
Apache License 2.0
4 stars 1 forks source link

arm64 build #3

Open msgilligan opened 3 years ago

msgilligan commented 3 years ago

It would be nice to have an ARM-64 build of the native image executable as well as arm64 docker containers (both the JIT and native-image versions)

msgilligan commented 1 year ago

See if we can use this HOW-TO to build AMD64 & ARM64: https://dev.to/cloudx/multi-arch-docker-images-the-easy-way-with-github-actions-4k54

See also: https://github.com/bmuschko/gradle-docker-plugin/issues/967#issuecomment-1103768609

This commit https://github.com/ConsensusJ/btcproxy/commit/306de86dcc27bcbadd3fe1e136315dca046fcff5 contains a build.gradle file that was able to build a multi arch version of the -jit version of the container image. This image was pushed to our Docker registry as version 0.3.8. (This is based upon https://github.com/bmuschko/gradle-docker-plugin/issues/967#issuecomment-1103768609) (See also WIP PR #7)

msgilligan commented 1 year ago

OK PR #7 is updated to work properly on GitHub Actions (for the gradle.yml workflow, the graalvm.yml is not updated.)