Update Dockerfile

This commit is contained in:
Oskar 2021-10-23 23:44:35 +02:00 committed by GitHub
parent 5c65f36104
commit ef20cdc4b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -2,7 +2,7 @@ FROM medzik/archlinux:latest
WORKDIR /home/build
# Instapp dependencies
# Install dependencies
RUN sudo pacman -Sy --noconfirm \
jdk-openjdk \
&& yes | sudo pacman -Scc
@ -33,3 +33,12 @@ RUN git clone https://aur.archlinux.org/android-platform.git \
&& cd .. \
&& rm -rf android-platform \
&& yes | sudo pacman -Scc
# Install build tools
RUN git clone https://aur.archlinux.org/android-sdk-build-tools.git \
&& cd android-sdk-build-tools \
&& makepkg -sr --noconfirm \
&& sudo pacman -U ./*.pkg.tar* --noconfirm \
&& cd .. \
&& rm -rf android-sdk-build-tools \
&& yes | sudo pacman -Scc