-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Failed to build on Pi Zero W #30
Comments
Very interesting - it looks like something may have gone missing upstream. I'll take a look! |
Not all of the images that we're using support Armv6, but it should work for some of the containers, just not Grafana last I checked. The real cause of the issue I think is this commit DynamicDevices/ming@3ee6b7c My repo uses This repo does not work at all at the moment for any device other than X86 because of that commit, so try mine, or rollback from that commit. |
Okay, that's even more hilarious. Seems Balena have started to call the From the log file provided: Can we please correct 3ee6b7c and get back to hardcoding this? There is no alternative, other than using BalenaOS docker base images, which is the reason the Jupyterlab container still built, something I created since there was no upstream image to choose from. Which defeats the whole purpose of using Docker and using things maintained by others, meaning we would have to maintain the entirety of Grafana and its installation method, dependencies, etc, rather than just its configuration with other software. Which I don't think we're getting paid enough for :) |
https://www.balena.io/docs/learn/develop/dockerfile/ How and why!
|
They broke stuff by renaming things? Can they unbreak it then? |
@ajlennon No, it never worked in the first place. They have just made it more silly. Or maybe it was always this way, and we just never bothered to look at how silly it got. The only thing that matches up is X86.
It has only ever worked for x86 images, as I've already discussed in #24 |
Reliance on %%BALENA_ARCH%% just hopes that they call it the same thing as the Docker Hub, which they don't, except in the case of |
I'm pretty sure when I created the Dockerfiles this worked on arm? |
No they did not. It failed live during my talk, if you remember? |
The reason it failed during my talk on Balena at DoES is because the manifest |
Yeah but when I created the Dockerfiles it did work as I recall, which was a while before your talk? |
Yes, but we've changed through many PRs since then, I wrote at length about why here. #8 This doesn't change the problem introduced by relying on %%BALENA_ARCH%%, we need to hardcode the platform, unless we base ourselves on Balena OS platform dependant images. If we do, not only does that mean we can't support both Docker and Balena independantly, but it also means that we have a crap ton more work to do, maintaining our own non standard, non supported, non official images, which I've already written about in #8 |
I've asked a lot of people in the Docker Freenode IRC whether it's possible to change the Because Balena itself is an outdated version of Moby, the Docker Container framework, it does not support image manifests, again as I have already cross-referenced in the few issues that are in this repository countless times and is mentioned also in #8 extensively. Here's more references for good measure. They have since privatised the repo responsible for the first comment in this issue. As a result, you have to hardcode the platform argument, there is no alternative until they support mult-arch image manifests. Which has been an outstanding issue since 2018 |
I attempted to load this onto a Raspberry Pi Zero W. It seemed to get almost all the way through, but in the end failed to build Mosquitto, Influx DB, Node Rod or Grafana. Only Jupyter-lab was successfully built. I've attached the terminal output below.
MING stack install.txt
The text was updated successfully, but these errors were encountered: