Using different Docker image
This commit is contained in:
parent
5af99807ac
commit
c001c8057d
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue