Skip to content

Commit

Permalink
Add dependencies to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Sobottasgithub authored and ArtemSBulgakov committed Apr 22, 2024
1 parent a7385f0 commit a207119
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a207119

Please sign in to comment.