added Docker script for building android apk through buildozer
This commit is contained in:
parent
b4da58a0c4
commit
291764eb32
45
Dockerfile.buildozer
Normal file
45
Dockerfile.buildozer
Normal 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
|
|
@ -51,6 +51,7 @@ requirements =
|
|||
git+https://github.com/kivymd/KivyMD#egg=kivymd,
|
||||
#kivymd,
|
||||
kivy-garden,
|
||||
kivy_garden.graph,
|
||||
qrcode,
|
||||
msgpack
|
||||
|
||||
|
@ -59,7 +60,7 @@ requirements =
|
|||
# requirements.source.kivy = ../../kivy
|
||||
|
||||
# (list) Garden requirements
|
||||
garden_requirements = qrcode
|
||||
# garden_requirements = qrcode
|
||||
|
||||
# (str) Presplash of the application
|
||||
#presplash.filename = %(source.dir)s/data/presplash.png
|
||||
|
|
Reference in New Issue
Block a user