added Docker script for building android apk through buildozer

This commit is contained in:
navjot 2021-05-15 00:57:16 +05:30
parent b4da58a0c4
commit 291764eb32
No known key found for this signature in database
GPG Key ID: 9EE70AFD71357F1C
2 changed files with 48 additions and 2 deletions

45
Dockerfile.buildozer Normal file
View File

@ -0,0 +1,45 @@
FROM ubuntu:20.04
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -qq --yes --no-install-recommends \
autoconf \
automake \
build-essential \
ccache \
cmake \
gettext \
git \
libncurses5-dev \
libncursesw5-dev \
libtinfo5 \
libffi-dev \
libltdl-dev \
libssl-dev \
libtool \
openjdk-13-jdk \
patch \
pkg-config \
python3-pip \
python3-setuptools \
python3-venv \
sudo \
unzip \
zip \
zlib1g-dev
RUN pip3 install cython buildozer
# RUN pip3 install "cython==0.29.15"
# RUN pip3 install "buildozer==1.0"
RUN mkdir -p /buildozer
WORKDIR /buildozer
COPY src /buildozer
RUN rm -rf bin bitmessagecurses bitmessageqt sslkeys tests translations
RUN rm -rf ./.buildozer/
RUN yes | buildozer android debug

View File

@ -51,6 +51,7 @@ requirements =
git+https://github.com/kivymd/KivyMD#egg=kivymd, git+https://github.com/kivymd/KivyMD#egg=kivymd,
#kivymd, #kivymd,
kivy-garden, kivy-garden,
kivy_garden.graph,
qrcode, qrcode,
msgpack msgpack
@ -59,7 +60,7 @@ requirements =
# requirements.source.kivy = ../../kivy # requirements.source.kivy = ../../kivy
# (list) Garden requirements # (list) Garden requirements
garden_requirements = qrcode # garden_requirements = qrcode
# (str) Presplash of the application # (str) Presplash of the application
#presplash.filename = %(source.dir)s/data/presplash.png #presplash.filename = %(source.dir)s/data/presplash.png