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

52 lines
966 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-19 10:27:10 +02:00
zlib1g-dev
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