Skip to content

Commit 9a69bc3

Browse files
authored
android: update base builder image (#625)
Updating our base builder to eclipse-temurin:21 to fix apt dependency errors. Updating the default toolchains to speed up the build. Updates tailscale/tailscale#15210 Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
1 parent 45d9710 commit 9a69bc3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# with this name, it will be used.
1111
#
1212
# The convention here is tailscale-android-build-amd64-<date>
13-
DOCKER_IMAGE := tailscale-android-build-amd64-031325
13+
DOCKER_IMAGE := tailscale-android-build-amd64-031325-1
1414
export TS_USE_TOOLCHAIN=1
1515

1616
# Auto-select an NDK from ANDROID_HOME (choose highest version available)
@@ -46,7 +46,7 @@ else
4646
ANDROID_TOOLS_URL := "https://dl.google.com/android/repository/commandlinetools-mac-9477386_latest.zip"
4747
ANDROID_TOOLS_SUM := "2072ffce4f54cdc0e6d2074d2f381e7e579b7d63e915c220b96a7db95b2900ee commandlinetools-mac-9477386_latest.zip"
4848
endif
49-
ANDROID_SDK_PACKAGES := 'platforms;android-31' 'extras;android;m2repository' 'ndk;23.1.7779620' 'platform-tools' 'build-tools;33.0.2'
49+
ANDROID_SDK_PACKAGES := 'platforms;android-34' 'extras;android;m2repository' 'ndk;23.1.7779620' 'platform-tools' 'build-tools;34.0.0'
5050

5151
# Attempt to find an ANDROID_SDK_ROOT / ANDROID_HOME based either from
5252
# preexisting environment or common locations.

docker/DockerFile.amd64-build

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This is a Dockerfile for creating a build environment for
22
# tailscale-android.
33

4-
FROM --platform=linux/amd64 eclipse-temurin:20-jdk
4+
FROM --platform=linux/amd64 eclipse-temurin:21
55

66
# To enable running android tools such as aapt
77
RUN apt-get update && apt-get -y upgrade

docker/DockerFile.amd64-shell

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This is a Dockerfile for creating a build environment for
22
# tailscale-android.
33

4-
FROM --platform=linux/amd64 eclipse-temurin:20-jdk
4+
FROM --platform=linux/amd64 eclipse-temurin:21
55

66
# To enable running android tools such as aapt
77
RUN apt-get update && apt-get -y upgrade

0 commit comments

Comments
 (0)