ghost43 2020-10-13 16:31:53 +00:00 committed by GitHub
parent 8eb4247ac4
commit da4f11dbd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,29 +92,38 @@ ENV HOME_DIR="/home/${USER}"
ENV WORK_DIR="${HOME_DIR}/wspace" \ ENV WORK_DIR="${HOME_DIR}/wspace" \
PATH="${HOME_DIR}/.local/bin:${PATH}" PATH="${HOME_DIR}/.local/bin:${PATH}"
# install system dependencies # install system/build dependencies
# https://github.com/kivy/buildozer/blob/master/docs/source/installation.rst#android-on-ubuntu-2004-64bit
RUN apt -y update -qq \ RUN apt -y update -qq \
&& apt -y install -qq --no-install-recommends \ && apt -y install -qq --no-install-recommends \
python3 python3-pip python3-setuptools git wget lbzip2 patch sudo \ python3 \
software-properties-common libssl-dev \ python3-dev \
&& apt -y autoremove python3-pip \
python3-setuptools \
# build dependencies wget \
# https://buildozer.readthedocs.io/en/latest/installation.html#android-on-ubuntu-16-04-64bit lbzip2 \
RUN dpkg --add-architecture i386 \ patch \
&& apt -y update -qq \ sudo \
&& apt -y install -qq --no-install-recommends \ software-properties-common \
build-essential ccache git python3 python3-dev \ git \
libncurses5:i386 libstdc++6:i386 libgtk2.0-0:i386 \ zip \
libidn11:i386 \ unzip \
zip zlib1g-dev zlib1g:i386 \ build-essential \
&& apt -y autoremove \ ccache \
&& apt -y clean openjdk-13-jdk \
autoconf \
# specific recipes dependencies (e.g. libffi requires autoreconf binary) libtool \
RUN apt -y update -qq \ pkg-config \
&& apt -y install -qq --no-install-recommends \ zlib1g-dev \
libffi-dev autoconf automake cmake gettext libltdl-dev libtool pkg-config \ libncurses5-dev \
libncursesw5-dev \
libtinfo5 \
cmake \
libffi-dev \
libssl-dev \
automake \
gettext \
libltdl-dev \
&& apt -y autoremove \ && apt -y autoremove \
&& apt -y clean && apt -y clean