Skip to content

Update JDK, NDK, and CMake versions in workflows and docs #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
strategy:
max-parallel: 3
matrix:
jdk: [ 17.0.14_7, 21.0.6_7, 22.0.2_9 ]
jdk: [ 17.0.14_7, 21.0.6_7, 23.0.2_7 ]
android: [ 34, 35 ]
ndk: [ 26.3.11579264, 27.2.12479018 ]
cmake: [ 3.31.1 ]
ndk: [ 28.0.13004108 ]
cmake: [ 3.31.5 ]
permissions:
packages: write
steps:
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
#
# Build with custom arguments:
#
# $ ./scripts/build --android 35 --jdk 22.0.2_9 --ndk 25.2.9519653 --cmake 3.31.1
# $ ./scripts/build --android 35 --jdk 23.0.2_7 --ndk 28.0.13004108 --cmake 3.31.5
#

ARG jdk=22.0.2_9
ARG jdk=23.0.2_7
ARG android=35

FROM saschpe/android-sdk:${android}-jdk${jdk}
ARG android
ARG cmake=3.31.1
ARG cmake=3.31.5
ARG jdk
ARG ndk=27.2.12479018
ARG ndk=28.0.13004108
LABEL maintainer="Sascha Peilicke <[email protected]"
LABEL description="Android NDK ${ndk} with CMake ${cmake} on SDK ${android} using JDK ${jdk}"

Expand Down
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,32 @@ Docker image `saschpe/android-sdk`.

## Android SDK, NDK, CMake and JDK support

The following JDK and Android SDK API level combinations are currently
The following JDK (horizontal axis) and Android SDK API level combinations are currently
available:

| | 11 | 17 | 21 | 22 |
|----|----|----|----|----|
| 31 | ✅ | ✅ | | |
| 32 | ✅ | ✅ | ✅ | ✅ |
| 33 | ✅ | ✅ | ✅ | ✅ |
| 34 | ✅ | ✅ | ✅ | ✅ |
| 35 | | ✅ | ✅ | ✅ |
| | 11 | 17 | 21 | 22 | 23 |
|----|----|----|----|----|----|
| 31 | ✅ | ✅ | | | |
| 32 | ✅ | ✅ | ✅ | ✅ | |
| 33 | ✅ | ✅ | ✅ | ✅ | |
| 34 | ✅ | ✅ | ✅ | ✅ | ✅ |
| 35 | | ✅ | ✅ | ✅ | ✅ |

* Android 35 image NDK versions: __26.2.11394342__ and __27.2.12479018__
* Previous images: __25.2.9519653__ and __26.2.11394342__
* CMake version: __3.31.1__
* Previous images: __3.22.1__
* Android 35 image NDK versions: __27.2.12479018__ and __28.0.13004108__
* Previous images: __25.2.9519653__, __26.2.11394342__ and __26.2.11394342__
* CMake version: __3.31.5__
* Previous images: __3.22.1__, __3.31.1__

## Usage

```shell
docker pull saschpe/android-ndk:35-jdk21.0.5_11-ndk27.2.12479018-cmake3.31.1
docker pull saschpe/android-ndk:35-jdk21.0.5_11-ndk28.0.13004108-cmake3.31.5
```

Use as a base image:

```Dockerfile
FROM saschpe/android-ndk:35-jdk21.0.5_11-ndk27.2.12479018-cmake3.31.1
FROM saschpe/android-ndk:35-jdk21.0.5_11-ndk28.0.13004108-cmake3.31.5
RUN sdkmanager --install emulator
```

Expand Down