Sign inSign up

1tsme/android-sdk

By 1tsme

Updated 7 days ago

Android SDK base images for Flutter CI builds

Image
Languages & frameworks
0

2.4K

1tsme/android-sdk repository overview

Base images for Flutter CI builds, providing the Android SDK layer on top of Debian. Three images are layered and released independently.
Source: https://github.com/its-me/image.android-sdk

Images

tools

Base image. Installs OpenJDK 21, the Android CLI (android, replacing the deprecated sdkmanager) plus adb and other platform tools, and the system packages typically needed for Flutter CI (build-essential, curl, git, and others). Includes the android-wait-for-emulator helper script.

TagExampleMeaning
tools-<version>tools-1.0.16261425Exact Android CLI version
toolstoolsLatest released Android CLI
build-tools

Adds Android build tools (aapt, d8, zipalign, etc.) via the Android CLI.

TagExampleMeaning
build-tools-<version>build-tools-37.0.0Exact build-tools version
build-tools-<version>-rc<n>build-tools-37.0.0-rc1Release candidate
build-tools-<major-version>build-tools-37Latest version of major release
build-toolsbuild-toolsLatest release of build-tools
platform

Adds the Android platform SDK for a specific API level via the Android CLI.

TagExampleMeaning
<version>37.0Exact platform version
<version>-ext<n>35-ext14Extension release (version tag only)
<major-version>37Latest version of major release
latestlatestLatest release of platform

Platform versions follow the upstream scheme: plain integers or decimals (35, 36.1, 37.0) for standard releases, and -ext for extension releases.

Usage

Use as a base image and layer Flutter on top:

FROM 1tsme/android-sdk:latest
RUN wget -qO /tmp/flutter.tar.xz https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_<version>-stable.tar.xz \
&& tar xf /tmp/flutter.tar.xz -C /opt \
&& rm /tmp/flutter.tar.xz
ENV PATH="/opt/flutter/bin:$PATH"

Or reference the image directly in a GitHub CI job:

jobs:
  build:
    runs-on: ubuntu-latest
    container: 1tsme/android-sdk:latest

Pin to a specific platform version for reproducible builds:

container: 1tsme/android-sdk:37.0

Tag summary

Content type

Image

Digest

sha256:5f81ed08f

Size

1 GB

Last updated

7 days ago

docker pull 1tsme/android-sdk