Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multiarch builds of the image / container #11

Open
Sebastix opened this issue Feb 25, 2022 · 4 comments
Open

Add multiarch builds of the image / container #11

Sebastix opened this issue Feb 25, 2022 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Sebastix
Copy link
Owner

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 Sebastix changed the title Add multiarch builds of the image Add multiarch builds of the image / container Feb 25, 2022
@Sebastix Sebastix added the bug Something isn't working label Feb 25, 2022
@Sebastix Sebastix self-assigned this Feb 25, 2022
@emze9
Copy link

emze9 commented Jul 20, 2022

Hi @Sebastix, are you planning to work on this ? I'm very interested about this feature.

@Sebastix
Copy link
Owner Author

Sebastix commented Jul 21, 2022

@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

@emze9
Copy link

emze9 commented Jul 21, 2022

Thanks for your answer @Sebastix !

I've forked your project on my Gitlab and tried to build a new image with a CI Job. My Gitlab Runner has an amd64 cpu and despite of some errors that I've fixed, I was able to build a new image. But when I ran the container, I got an error exec format error. It's related to the cpu architecture. I admit that i didn't look any further because of the little time I had ^^

@Sebastix
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants