-
Notifications
You must be signed in to change notification settings - Fork 47
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
arm based docker images? #96
Comments
Yes, that's an interesting suggestion! I will look into this later. Thanks! |
I got this working on a fork: |
This creates a 49MB image that runs on my Raspberry Pi 3B+ Cross built on AMD64 DockerfileCrossCompile.arm7hf
|
I needed aarch64. Buildx is really a easier in my opinion for multi architecture |
Let's keep this open. I want to configure the Travis CI build to also generate arm64 images or migrate to GitHub Actions in the future. |
After setting up buildx (I hadn't heard of it before) I agree it's the better way to go. Although it is not 'production' ready per Docker Inc, or as easy to get going as using the Balena crossbuild images. This is nice because you can use one Dockerfile for all platforms and use one build command to build for many platforms at once. Depending on the backend it can do parallel build on multiple machines. To the above Dockerfile (using official Alpine image) I had to add |
A side note for Docker image sizes: Creating Smaller Docker Images - Ian Lewis |
I noticed no arm based docker builds exist for pis or other SBC boards? Is that something you are willing to do? Appears you could use a github action with buildx.
The text was updated successfully, but these errors were encountered: