Skip to content

Commit 8f76740

Browse files
authored
Merge branch 'main' into main
2 parents a7b69e7 + cc1f13b commit 8f76740

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ RUN apt-get install -y \
3737
ca-certificates-java \
3838
openjdk-17-jdk \
3939
xmllint \
40-
xpath
40+
xpath \
41+
jq
4142

4243
# python
4344
ENV PY_VERSION=3.9.18
@@ -104,12 +105,12 @@ ENV PATH ${PATH}:${ANDROID_SDK_ROOT}/platform-tools:${ANDROID_SDK_ROOT}/cmdline-
104105
# Non-standard components: MIPS system images, preview versions, GDK (Google Glass) and Android Google TV require separate licenses, not accepted there
105106
RUN yes | sdkmanager --update
106107
RUN yes | sdkmanager --licenses
107-
RUN sdkmanager "platform-tools"
108+
RUN sdkmanager "platform-tools" "platforms;android-34" "build-tools;34.0.0" "platforms;android-33" "build-tools;33.0.2"
108109
RUN sdkmanager --install "ndk;25.1.8937393" "cmake;3.22.1"
109110

110111
# Please keep all sections in descending order!
111112
# list all platforms, sort them in descending order, take the newest 8 versions and install them
112-
RUN yes | sdkmanager $( sdkmanager --list 2>/dev/null| grep platforms | awk -F' ' '{print $1}' | sort -nr -k2 -t- | head -8 | uniq )
113+
RUN yes | sdkmanager $( sdkmanager --list 2>/dev/null| grep platforms | grep -v "\-ext" | awk -F' ' '{print $1}' | sort -nr -k2 -t- | head -8 | uniq )
113114
# list all build-tools, sort them in descending order and install them
114115
# skip rc versions, increase head count - versions are found twice (actual matches will now be ~5)
115116
RUN yes | sdkmanager $( sdkmanager --list 2>/dev/null | grep build-tools | grep -v "\-rc" | awk -F' ' '{print $1}' | sort -nr -k2 -t\; | head -10 | uniq )

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# jnlp-agent-android-jdk17
1+
# jnlp-agent-android-jdk17

0 commit comments

Comments
 (0)