Sebastix / crypto-dca

Tool for automatically buying and withdrawing multiple assets on Kraken.
MIT License
3 stars 0 forks source link

Add multiarch builds of the image / container #11

Open Sebastix opened 2 years ago

Sebastix commented 2 years ago

The current image / container is only build for arm architectures. To use it on your Rasperry Pi or other Linux architecture, the image should also be compatible with amd/x64 architectures.

https://admantium.com/blog/tech04_docker_multiarch_builds/

Sebastix commented 2 years ago

@emze9 Good question! My honest answer is that I've not planned time to work on the project due other work of clients. It's on my long list together with a lot of other things. Do you know how to build an image on your machine where you would like to use the software? You can find these steps in the README.md. Using your own build image should work.


cd ~
git clone https://github.com/Sebastix/crypto-dca.git
cd crypto-dca
docker build . -t ghcr.io/sebastix/crypto-dca:latest
Sebastix commented 2 years ago

Maybe this resource helps you out: https://www.docker.com/blog/multi-arch-build-what-about-gitlab-ci/ for a multi-arch build in your Gitlab CD/CI.

You could also try to build the image on the machine where you would like to run the tool.