From c001c8057dfe0340e386295a5fd5351c9b27314f Mon Sep 17 00:00:00 2001 From: Kumi Date: Mon, 8 Jan 2024 12:08:33 +0100 Subject: [PATCH] Using different Docker image --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff0506d..e465481 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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