chore: add some verbosity to sdkmanager
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2021-01-29 21:00:14 +01:00
parent a4932d2759
commit 94a9df0f76
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -36,10 +36,10 @@ ADD packages.txt ${ANDROID_SDK_ROOT}
RUN mkdir -p /$(whoami)/.android
RUN touch /$(whoami)/.android/repositories.cfg
RUN yes | ${ANDROID_SDK_ROOT}/tools/bin/sdkmanager --licenses
RUN ${ANDROID_SDK_ROOT}/tools/bin/sdkmanager --update
RUN yes | ${ANDROID_SDK_ROOT}/tools/bin/sdkmanager --verbose --licenses
RUN ${ANDROID_SDK_ROOT}/tools/bin/sdkmanager --verbose --update
RUN while read -r package; do PACKAGES="${PACKAGES}${package} "; done < ${ANDROID_SDK_ROOT}/packages.txt && ${ANDROID_SDK_ROOT}/tools/bin/sdkmanager ${PACKAGES}
RUN while read -r package; do PACKAGES="${PACKAGES}${package} "; done < ${ANDROID_SDK_ROOT}/packages.txt && ${ANDROID_SDK_ROOT}/tools/bin/sdkmanager --verbose ${PACKAGES}
FROM adoptopenjdk/openjdk11:alpine-slim
COPY --from=build /tmp/sdk /sdk