-
Notifications
You must be signed in to change notification settings - Fork 264
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 docker image available? #587
Comments
Hi @nunnsby , Thank you very much for reaching. With Marc ( @msune ) we had a brief chat and he looks positive this is something that can be certainly done. Marc being the father of current pmacct CI / Docker efforts. I will keep this issue open and mark it as an enhancement / feature request. We'll have soon news for you. Paolo |
You can surely try to build it from the sources, following: https://github.com/pmacct/pmacct#building |
(premature send) And you should also probably be able to build (local) docker images:
(mind untested commands) |
Hey there, still failing. Only got around to testing now as I had rebuilt the previous machine as an AMD at the time. Errors below, from the end of the build of base:_build ########################################################### Configure failed########################################################### Accumulated failures:########################################################### The command '/bin/sh -c ./ci/deps.sh' returned a non-zero code: 1 SYSTEM INFO BELOW: $ cat /etc/os-release $ lscpu |
Hi @nunnsby , It seems it's just missing libjansson, a requirement for libavro. Jansson is compiled before libavro in deps.sh. Maybe that one failed to compile / install and hence it is triggering this fail? Paolo |
Actually the avro part of the build kicks back a number of errors, not libjansson: ... [ 19%] Building C object src/CMakeFiles/avro-static.dir/datum_value.c.o ... [ 37%] Building C object src/CMakeFiles/avro-static.dir/schema.c.o ... [ 41%] Building C object src/CMakeFiles/avro-static.dir/st.c.o ... [ 45%] Building C object src/CMakeFiles/avro-static.dir/value-hash.c.o ... [ 61%] Building C object tests/CMakeFiles/test_avro_1906.dir/test_avro_1906.c.o ... |
I got this to work (for pmacctd anyway) with a simple arm image using alpine & apk to install, its currently chugging away on my ubiquiti udmpro. If anyone wants the image I'll put the dockerfile in a repo and make the docker image public. |
Description
ARM Based host running container start-up fails with the following error:
AWS EC2 Graviton host, running ubuntu.
lscpu from host:
Version
latest docker image, but obviously AMD64, hence not working
I appreciate this is not an easy ask, but just wondering if it has been considered or is in the pipeline? Happy for you to close this if not being considered.
Any alternatives? I have not tried installing the binary directly, but "assume" it will have the same issue of being coded for an amd64 chipset, so am not sure if that will work.
The text was updated successfully, but these errors were encountered: