From 4d198df5f4d3d7ea4dd58b651c6a955e21648bd5 Mon Sep 17 00:00:00 2001 From: Stefan Schueller Date: Fri, 1 Oct 2021 18:30:19 +0200 Subject: [PATCH] fix: android update --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4eac765..b7f8c92 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,9 +14,7 @@ RUN mkdir "$ANDROID_HOME" .android && \ echo "${ANDROID_SDK_CHECKSUM} sdk.zip" | sha256sum -c - && \ unzip sdk.zip && \ rm sdk.zip && \ - mv cmdline-tools tools && \ - mkdir cmdline-tools && \ - mv tools cmdline-tools/. + mv cmdline-tools tools RUN yes | ${ANDROID_HOME}/tools/bin/sdkmanager --licenses RUN $ANDROID_HOME/tools/bin/sdkmanager --update