-
-
Notifications
You must be signed in to change notification settings - Fork 268
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 Docker image for ARM builds #56
Comments
waiting for a docker arm image |
I created a Dockerfile that works on arm32v7 https://github.com/pblgomez/PodSync-Armv6-Docker with build.sh it install latest Podsync and builds the docker image |
Thanks a lot! I have been waiting for this for a few weeks. I have just built the image in my rpi4 and it works like a charm!!! :) |
I waited too, but couldn't wait any longer jejeje. Hope @mxpv uses this and makes a official arm docker. |
Hi. @pblgomez thanks for the reference. I'll get to this eventually :) |
@pblgomez Hi! First of all, thank you very much.
I'm on the Pi 2 Model B v1.1 |
Yes, I tried too and it fails, something changed in this latest release. The problem exist with 2.1.0 and newer. @melgu There's a branch on my github to keep using 2.0.7 till this is fixed. Use that one till then. ;) |
I just programmed my first python app |
You could do this with a multi stage Dockerfile:
Actually, the second part is the current podsync Dockerfile. Except for the COPY, as I had to adjust it to copy the binary from the builder part. You can now do this: But you need to have buildx activated. However, it currently fails because youtube-dl is currently offline due to DMCA. But if you remove the Further readings:
However, as I really need the arm build, I'll use this in the meantime: Dockerfile:
Commands:
|
Find my (above explained) stuff in a bit changed way here: https://github.com/tuxpeople/docker-podsync This is what I use currently till we get the official ARM Image :-D |
@mxpv I have no idea about goreleaser but saw this here and thought about a pull request: https://carlosbecker.com/posts/multi-platform-docker-images-goreleaser-gh-actions/ However, this would end up in different tags for the different archs. And I'm not a fan of that. This here would "fix" that: https://namiops.medium.com/golang-multi-arch-docker-image-with-github-action-b59a62c8d2bd But in this case you would have to move the image build from goreleaser into the github workflow. Would that be okay for you? |
ref #48
The text was updated successfully, but these errors were encountered: