psi-4ward / AskSinAnalyzerXS

Analyzer for radio telegrams in a HomeMatic environment
Other
48 stars 7 forks source link

Installation on Raspberry not working #33

Closed KingKahn123 closed 3 years ago

KingKahn123 commented 3 years ago

Hi,

when trying to create the docker container on RaspBerry PI 4 I get following error message:

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

Is this docker image not working with Raspberry PI OS?

Thx for your help, Kai

psi-4ward commented 3 years ago

Yes atm only for x86 but you can try to build it on the raspberry yourself

KingKahn123 commented 3 years ago

I am only a beginner using docker... So this would exceed my capabilities ;-)

psi-4ward commented 3 years ago

Not really. Download or clone this repository. Run docker build . -t analyzer in the folder where the Dockerfile is located. This builds you the image analyzer

KingKahn123 commented 3 years ago

This ends with following error message:

Step 4/13 : COPY /app /tmp/src/app COPY failed: file not found in build context or excluded by .dockerignore: stat app: file does not exist

psi-4ward commented 3 years ago

Hmm should work. I'll give it a try myself tomorrow.

KingKahn123 commented 3 years ago

ok thanks!

KingKahn123 commented 3 years ago

Do you had a chance to try it yourself?

psi-4ward commented 3 years ago

Ha, you're right. The Dockerfile is in Docker/Dockerfile so you need adjust that:

docker build . -t analyzer -f Docker/Dockerfile
KingKahn123 commented 3 years ago

Thx, now it works!