-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add hooks for arm automated builds on Dockerhub
- Loading branch information
1 parent
d238a04
commit a4d60d1
Showing
2 changed files
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
curl -L https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-arm.tar.gz | tar zxvf - -C . && mv qemu-3.0.0+resin-arm/qemu-arm-static . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
# Register qemu-*-static for all supported processors except the | ||
# current one, but also remove all registered binfmt_misc before | ||
docker run --rm --privileged multiarch/qemu-user-static:register --reset |
a4d60d1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, quick question as I saw your link in the issue:
Does this actually work for you? I took the same route, Docker logs seemed to indicate everything works as intended but I was unable to checkout my images on a Raspberry Pi.
a4d60d1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey. Yes, everything seem to be working as expected -
docker pull vlkoti/raspberrypi3-homeassistant && docker-compose up -d
on Raspberry does the job of updating my home-assistant setup pretty wella4d60d1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your feedback, I appreciate it.
Damn this is frustrating, I have the same hooks as you but my project (cutsolver) isn't working,
exec format error
every time. Logs actually show that qemu is registered but no arm image is available. Did you do something special to Docker Hub, uploading a manifest file or something?a4d60d1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, at least I can't remember anything