1
0
Fork 0
mirror of https://github.com/ArtemSBulgakov/buildozer-action.git synced 2024-08-16 10:09:52 +02:00

Add dependencies to Dockerfile

This commit is contained in:
Sobottasgithub 2024-04-10 11:36:26 +02:00 committed by Artem Bulgakov
parent a7385f0bf5
commit a2071194e5

View file

@ -5,6 +5,17 @@ FROM kivy/buildozer:latest
# This is needed to install version specified by user
RUN pip3 uninstall -y buildozer
# Update Cython as Buildozer now requires it to build successfully
RUN pip install --upgrade Cython
# Get the latest JDK version as Buildozer requires the latest version to build the APK
RUN sudo apt-get update && \
sudo apt-get install -y software-properties-common && \
sudo rm -rf /var/lib/apt/lists/*
RUN sudo add-apt-repository ppa:openjdk-r/ppa
RUN sudo apt update
RUN sudo apt-get -y install openjdk-17-jdk
# Remove a lot of warnings
# sudo: setrlimit(RLIMIT_CORE): Operation not permitted
# See https://github.com/sudo-project/sudo/issues/42