Skip to content
This repository was archived by the owner on Sep 25, 2022. It is now read-only.

plese add ARMv7 compatibility #28

Open
udlch opened this issue Jan 29, 2021 · 7 comments
Open

plese add ARMv7 compatibility #28

udlch opened this issue Jan 29, 2021 · 7 comments

Comments

@udlch
Copy link

udlch commented Jan 29, 2021

at Armv7-A (QNAP NAS) get error

standard_init_linux.go:211: exec user process caused "exec format error"

@reesericci
Copy link

big problem for pis running HA

@Sergbmw
Copy link

Sergbmw commented Mar 24, 2021

standard_init_linux.go:219: exec user process caused: exec format error
please add raspberry 4

@myhomeiot
Copy link

big problem for pis running HA

If you use HA, you can try to use this integration.

@elad-bar
Copy link
Owner

if someone can assist with that issue that would be great, i don't have a RP4 to test it,
but it seems that for ARMv7 need to install additional package within the container:
sudo apt-get install qemu binfmt-support qemu-user-static

in order to do that, you will need to change the entry point to different command, access to the terminal of the container, install the missing package and try running manually the DahuaVTO,py file.

thanks

@Marcmk1
Copy link

Marcmk1 commented May 24, 2021

Hi I tried to start the image with
sudo docker run -t -i eladbar/dahuavto2mqtt bash

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
standard_init_linux.go:219: exec user process caused: exec format error

I dont understand how I can spin-up an docker image that has an different architect.
If you got the command I'm happy to preform those for you!
:ediit:
For now I run it manual with python3 DahuaVTO.py as an service and for me it works great!
Only it would be nice to have an running docker.

@roysbike
Copy link

Make for arm7:

FROM python:slim-buster
WORKDIR /app
COPY *.py ./
RUN apt update && apt upgrade && pip3 install paho-mqtt requests &&  pip install paho-mqtt requests
RUN chmod +x /app/DahuaVTO.py
ENTRYPOINT ["python3", "/app/DahuaVTO.py"]

@Anzic23
Copy link

Anzic23 commented Oct 22, 2021

#17 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants