From eb28e81b2c0199966749cca9c0b01980ba694315 Mon Sep 17 00:00:00 2001 From: Stefan Schueller Date: Fri, 1 Oct 2021 18:14:45 +0200 Subject: [PATCH] fix: android update --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e3884f3..1059b35 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM gradle:7-jdk16 +FROM gradle:7.2-jdk16 -ENV ANDROID_SDK_URL https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip -ENV ANDROID_SDK_CHECKSUM 444e22ce8ca0f67353bda4b85175ed3731cae3ffa695ca18119cbacef1c1bea0 +# Go to https://developer.android.com/studio/releases/platform-tools +ENV ANDROID_SDK_URL https://dl.google.com/android/repository/platform-tools-latest-linux.zip ENV ANDROID_BUILD_TOOLS_VERSION 29.0.3 ENV ANDROID_HOME /usr/local/android-sdk-linux ENV ANDROID_VERSION 29 @@ -10,7 +10,6 @@ ENV PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools RUN mkdir "$ANDROID_HOME" .android && \ cd "$ANDROID_HOME" && \ curl -o sdk.zip $ANDROID_SDK_URL && \ - echo "${ANDROID_SDK_CHECKSUM} sdk.zip" | sha256sum -c - && \ unzip sdk.zip && \ rm sdk.zip