This repository has been archived on 2024-12-20. You can view files and clone it, but cannot push or open issues or pull requests.
PyBitmessage-2024-12-20/Dockerfile.buildozer

55 lines
1021 B
Docker
Raw Normal View History

2021-05-17 20:45:50 +02:00
FROM ubuntu:18.04
2021-05-17 20:45:50 +02:00
# configures locale
RUN apt update -qq > /dev/null && \
apt install -qq --yes --no-install-recommends \
locales && \
locale-gen en_US.UTF-8
ENV LANG="en_US.UTF-8" \
LANGUAGE="en_US.UTF-8" \
LC_ALL="en_US.UTF-8"
2021-05-17 20:45:50 +02:00
# system requirements to build most of the recipes
RUN apt install -qq --yes --no-install-recommends \
autoconf \
automake \
build-essential \
ccache \
cmake \
gettext \
git \
libffi-dev \
libltdl-dev \
libssl-dev \
libtool \
2021-05-17 20:45:50 +02:00
openjdk-8-jdk \
patch \
pkg-config \
2021-05-17 20:45:50 +02:00
python2.7 \
python3-pip \
python3-venv \
2021-05-17 20:45:50 +02:00
python3-setuptools \
sudo \
unzip \
zip \
2021-05-17 20:45:50 +02:00
zlib1g-dev \
libncurses5-dev \
libncursesw5-dev \
libtinfo5
2021-05-17 20:45:50 +02:00
RUN pip3 install "cython==0.28.6"
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