chore: add some verbosity to sdkmanager
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a4932d2759
commit
94a9df0f76
@ -36,10 +36,10 @@ ADD packages.txt ${ANDROID_SDK_ROOT}
|
|||||||
RUN mkdir -p /$(whoami)/.android
|
RUN mkdir -p /$(whoami)/.android
|
||||||
RUN touch /$(whoami)/.android/repositories.cfg
|
RUN touch /$(whoami)/.android/repositories.cfg
|
||||||
|
|
||||||
RUN yes | ${ANDROID_SDK_ROOT}/tools/bin/sdkmanager --licenses
|
RUN yes | ${ANDROID_SDK_ROOT}/tools/bin/sdkmanager --verbose --licenses
|
||||||
RUN ${ANDROID_SDK_ROOT}/tools/bin/sdkmanager --update
|
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
|
FROM adoptopenjdk/openjdk11:alpine-slim
|
||||||
COPY --from=build /tmp/sdk /sdk
|
COPY --from=build /tmp/sdk /sdk
|
||||||
|
Loading…
Reference in New Issue
Block a user