ct-Open-Source / tuya-convert

A collection of scripts to flash Tuya IoT devices to alternative firmwares
MIT License
4.59k stars 497 forks source link

Add armv7 image for docker #922

Open Daveyr opened 3 years ago

Daveyr commented 3 years ago

The base image for the Dockerfile is phusion/baseimage:master. When I build the docker image it says that an armv7 version cannot be found. Please can you consider compiling an armv7 version of this base image? Pretty sure the rest of the Dockerfile will build just fine otherwise.

Cyber1000 commented 3 years ago

phusion/baseimage:master splits into 386, amd64, arm64, so no armv7 here. alpine has a lot more options here including armv7, so as you said my PR should fix this.

You might try my branch, there were no other changes to original develop-branch for now.

Daveyr commented 3 years ago

Thanks. I actually copied most of your Dockerfile, including the base image, and I was able to run on Raspberry Pi 4. The only things that didn't work was the volume (could be my docker-compose.yml) and the entry point (I manually ran /usr/bin/tuya-convert/start_flash.sh). But this might not be an issue with your branch; just my cherry picking of changes.

nmeachen commented 2 years ago

Whatever the issue was here at the time, there is an armv7 image for this now.

Cyber1000 commented 2 years ago

There was a PR merged in May 2020 (after this issue), which solved this, so this issue can be closed.