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:
parent
a7385f0bf5
commit
a2071194e5
1 changed files with 11 additions and 0 deletions
11
Dockerfile
11
Dockerfile
|
@ -5,6 +5,17 @@ FROM kivy/buildozer:latest
|
||||||
# This is needed to install version specified by user
|
# This is needed to install version specified by user
|
||||||
RUN pip3 uninstall -y buildozer
|
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
|
# Remove a lot of warnings
|
||||||
# sudo: setrlimit(RLIMIT_CORE): Operation not permitted
|
# sudo: setrlimit(RLIMIT_CORE): Operation not permitted
|
||||||
# See https://github.com/sudo-project/sudo/issues/42
|
# See https://github.com/sudo-project/sudo/issues/42
|
||||||
|
|
Loading…
Reference in a new issue