Skip to content

Commit

Permalink
RUN yes | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager --lic…
Browse files Browse the repository at this point in the history
…enses

#
#
RUN yes | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager "platform-tools"
RUN yes | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager "platforms;android-35"
RUN yes | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager "build-tools;35.0.0"
  • Loading branch information
Allan-Nava authored Nov 28, 2024
1 parent ae2b974 commit 8558995
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
11 changes: 5 additions & 6 deletions Dockerfile.2023.11.3
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@ RUN echo $PATH
#RUN . ~/.bashrc
##
RUN ls -l /root/Android/Sdk/cmdline-tools/latest/bin
RUN (yes "" 2>/dev/null || true) | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager --update
RUN (yes "" 2>/dev/null || true) | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager --licenses
#RUN (yes "" 2>/dev/null || true) | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager --update
RUN yes | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager --licenses
#
#RUN /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager "platform-tools" "platforms;android-35" "build-tools;35.0.0"
#
RUN (y "" 2>/dev/null || true) | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager "platform-tools"
RUN (y "" 2>/dev/null || true) | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager "platforms;android-35"
RUN (y "" 2>/dev/null || true) | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager "build-tools;35.0.0"
RUN yes | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager "platform-tools"
RUN yes | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager "platforms;android-35"
RUN yes | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager "build-tools;35.0.0"
#
10 changes: 4 additions & 6 deletions Dockerfile.latest
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,10 @@ RUN echo $PATH
##
##
RUN ls -l /root/Android/Sdk/cmdline-tools/latest/bin
RUN (yes "" 2>/dev/null || true) | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager --update
RUN (yes "" 2>/dev/null || true) | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager --licenses
RUN yes | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager --licenses
#
#RUN /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager "platform-tools" "platforms;android-35" "build-tools;35.0.0"
#
RUN (y "" 2>/dev/null || true) | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager "platform-tools"
RUN (y "" 2>/dev/null || true) | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager "platforms;android-35"
RUN (y "" 2>/dev/null || true) | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager "build-tools;35.0.0"
RUN yes | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager "platform-tools"
RUN yes | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager "platforms;android-35"
RUN yes | /root/Android/Sdk/cmdline-tools/latest/bin/sdkmanager "build-tools;35.0.0"
#

0 comments on commit 8558995

Please sign in to comment.