I am building my kivy project for android through github actions right now and it takes around 14 minutes to build a simple project. Should I switch to running docker locally to increase the performance? Source: Docker..
Having built a buildozer Docker based on the instructions on https://github.com/kivy/buildozer/, I try to run it and get an error: kivyproject $ ls main.py buildozer.spec setup.py […] kivyproject $ docker run –volume "$(pwd)":/home/user/hostcwd buildozer android debug # Ensure build layout No buildozer.spec found in the current directory. Abandon. Also, I find an empty directory was ..
So, its quite a long story but I’m trying to get OpenCV to work with android. After some research I discovered this Dockerfile (https://github.com/tom333/mycamerai/blob/master/Dockerfile) which presumable provides a workaround to an issue with the actual official Dockerfile. after running it with the following command docker run -it -v "C:UsersgrassOneDriveDesktopOpenceevee":/buildozer -w /buildozer fe5e50d6a65f android debug deploy ..
Dockerfile #Main docker image FROM ubuntu:18.04 # Install necessary system packages RUN apt-get update RUN apt-get install -y python3-pip build-essential git python3.7 python3-dev ffmpeg libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libportmidi-dev libswscale-dev libavformat-dev libavcodec-dev zlib1g-dev pkg-config libmtdev1 # Install gstreamer for audio, video (optional) RUN apt-get install -y libgstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good ADD ./requirements.pip requirements.pip RUN pip3 install ..