Pin platform tools and use the upstream debug unit task
All checks were successful
review/security-claude Carried from reviewed head: identical tree (re-pushed only to shed stale Actions statuses)
review/code-claude Carried from reviewed head: identical tree (re-pushed only to shed stale Actions statuses)
All checks were successful
review/security-claude Carried from reviewed head: identical tree (re-pushed only to shed stale Actions statuses)
review/code-claude Carried from reviewed head: identical tree (re-pushed only to shed stale Actions statuses)
This commit is contained in:
parent
3d6f8bae1a
commit
19adf54c23
3 changed files with 20 additions and 6 deletions
|
|
@ -12,6 +12,13 @@ RUN curl -fsSL https://dl.google.com/android/repository/commandlinetools-linux-1
|
|||
&& rm -rf /tmp/tools.zip /tmp/android-tools \
|
||||
&& yes | sdkmanager --licenses >/dev/null \
|
||||
&& sdkmanager 'platforms;android-37.0' 'build-tools;36.0.0' \
|
||||
&& while IFS='=' read -r name value; do \
|
||||
if [ "$name" = Pkg.Revision ]; then test "$value" = 2 || exit 1; fi; \
|
||||
done < "$ANDROID_HOME/platforms/android-37.0/source.properties" \
|
||||
&& curl -fsSL https://dl.google.com/android/repository/platform-tools_r37.0.1-linux.zip -o /tmp/platform-tools.zip \
|
||||
&& echo '477254aa5f903c15cf51001717bdf347fb6b53e0 /tmp/platform-tools.zip' | sha1sum -c - \
|
||||
&& unzip -q /tmp/platform-tools.zip -d "$ANDROID_HOME" \
|
||||
&& rm /tmp/platform-tools.zip \
|
||||
&& mkdir -m 1777 /gradle
|
||||
ENV GRADLE_USER_HOME=/gradle HOME=/tmp
|
||||
COPY signing.init.gradle /opt/wolfskin/signing.init.gradle
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue