fix: android update

This commit is contained in:
Stefan Schueller 2021-10-01 18:32:00 +02:00
parent 4d198df5f4
commit 011a60556d

View File

@ -14,7 +14,9 @@ RUN mkdir "$ANDROID_HOME" .android && \
echo "${ANDROID_SDK_CHECKSUM} sdk.zip" | sha256sum -c - && \ echo "${ANDROID_SDK_CHECKSUM} sdk.zip" | sha256sum -c - && \
unzip sdk.zip && \ unzip sdk.zip && \
rm sdk.zip && \ rm sdk.zip && \
mv cmdline-tools tools mv cmdline-tools latest && \
mkdir cmdline-tools && \
mv latest cmdline-tools/.
RUN yes | ${ANDROID_HOME}/tools/bin/sdkmanager --licenses RUN yes | ${ANDROID_HOME}/tools/bin/sdkmanager --licenses
RUN $ANDROID_HOME/tools/bin/sdkmanager --update RUN $ANDROID_HOME/tools/bin/sdkmanager --update