fix: android update
This commit is contained in:
parent
20d41d5480
commit
4d198df5f4
@ -14,9 +14,7 @@ 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 tools
|
||||||
mkdir cmdline-tools && \
|
|
||||||
mv tools 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
|
||||||
|
Loading…
Reference in New Issue
Block a user