Using different Docker image

This commit is contained in:
Kumi 2024-01-08 12:08:33 +01:00
parent 5af99807ac
commit c001c8057d

View file

@ -1,4 +1,4 @@
image: openjdk:17-jdk
image: eclipse-temurin:17-jdk
variables:
ANDROID_COMPILE_SDK: "34"
@ -6,8 +6,7 @@ variables:
ANDROID_SDK_TOOLS: "10406996"
before_script:
- apt-get --quiet update --yes
- apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1
- apk add --no-cache wget tar unzip bash
- wget --quiet --output-document=android-sdk.zip https://dl.google.com/android/repository/commandlinetools-linux-${ANDROID_SDK_TOOLS}_latest.zip
- unzip -d android-sdk-linux android-sdk.zip
- echo y | android-sdk-linux/cmdline-tools/bin/sdkmanager "platforms;android-${ANDROID_COMPILE_SDK}" >/dev/null