ez-org / eznode

✨ A simple pruning-friendly setup for a personal bitcoin full node
https://ezno.de
MIT License
55 stars 7 forks source link

docker arm64 #18

Closed jaonoctus closed 2 years ago

jaonoctus commented 2 years ago

Does anyone know how to build it for arm64?

tried

docker buildx build --platform linux/amd64,linux/arm64 -t myuser/eznode:latest .

or

docker build --platform linux/arm64 -t myuser/eznode:latest .

but when using the image, I got this error:

standard_init_linux.go:228: exec user process caused: exec format error
shesek commented 2 years ago

There are a few build args that need to be set to build the image for arm64.

You can set these args and build the docker image by running the following command in the repo directory: ./docker/build-arch.sh arm64 -t eznode

This is also mentioned on https://ezno.de/building

jaonoctus commented 2 years ago

thank you @shesek