oci-images/android-build-base (sha256:fb27c574e12ba6933d06caa4a1ed718f665b0cf3338c5604917ab680898814e0)

Published 2026-05-10 22:08:58 +02:00 by roshless in infra/oci-images

Installation

docker pull git.roshless.me/infra/oci-images/android-build-base@sha256:fb27c574e12ba6933d06caa4a1ed718f665b0cf3338c5604917ab680898814e0
sha256:fb27c574e12ba6933d06caa4a1ed718f665b0cf3338c5604917ab680898814e0

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=24.04
ADD file:8ce1caf246e7c778bca84c516d02fd4e83766bb2c530a0fffa8a351b560a2728 in /
CMD ["/bin/bash"]
LABEL maintainer=nobody
ARG ANDROID_COMPILE_SDK=36
ARG ANDROID_BUILD_TOOLS=36.0.0
ARG ANDROID_SDK_TOOLS_VERSION=14742923
ARG NODE_MAJOR=22
ENV DEBIAN_FRONTEND=noninteractive JAVA_VERSION=17 ANDROID_SDK_ROOT=/opt/android-sdk ANDROID_HOME=/opt/android-sdk GRADLE_USER_HOME=/gradle-cache PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/opt/android-sdk/build-tools/36.0.0
RUN |4 ANDROID_COMPILE_SDK=36 ANDROID_BUILD_TOOLS=36.0.0 ANDROID_SDK_TOOLS_VERSION=14742923 NODE_MAJOR=22 /bin/sh -c apt-get update -qq && apt-get install -y --no-install-recommends openjdk-${JAVA_VERSION}-jdk-headless unzip git curl ca-certificates && rm -rf /var/lib/apt/lists/* # buildkit
RUN |4 ANDROID_COMPILE_SDK=36 ANDROID_BUILD_TOOLS=36.0.0 ANDROID_SDK_TOOLS_VERSION=14742923 NODE_MAJOR=22 /bin/sh -c mkdir -p "${ANDROID_SDK_ROOT}/cmdline-tools" && curl -fsSL "https://dl.google.com/android/repository/commandlinetools-linux-${ANDROID_SDK_TOOLS_VERSION}_latest.zip" -o /tmp/cmdline-tools.zip && unzip -q /tmp/cmdline-tools.zip -d /tmp/cmdline-tools-extract && mv /tmp/cmdline-tools-extract/cmdline-tools "${ANDROID_SDK_ROOT}/cmdline-tools/latest" && rm -rf /tmp/cmdline-tools.zip /tmp/cmdline-tools-extract # buildkit
RUN |4 ANDROID_COMPILE_SDK=36 ANDROID_BUILD_TOOLS=36.0.0 ANDROID_SDK_TOOLS_VERSION=14742923 NODE_MAJOR=22 /bin/sh -c yes | sdkmanager --licenses > /dev/null 2>&1 || true # buildkit
RUN |4 ANDROID_COMPILE_SDK=36 ANDROID_BUILD_TOOLS=36.0.0 ANDROID_SDK_TOOLS_VERSION=14742923 NODE_MAJOR=22 /bin/sh -c sdkmanager --install "platforms;android-${ANDROID_COMPILE_SDK}" "build-tools;${ANDROID_BUILD_TOOLS}" "platform-tools" && sdkmanager --update # buildkit
RUN |4 ANDROID_COMPILE_SDK=36 ANDROID_BUILD_TOOLS=36.0.0 ANDROID_SDK_TOOLS_VERSION=14742923 NODE_MAJOR=22 /bin/sh -c curl -fsSL https://deb.nodesource.com/setup_${NODE_MAJOR}.x | bash - && apt-get install -y --no-install-recommends nodejs && rm -rf /var/lib/apt/lists/* # buildkit
RUN |4 ANDROID_COMPILE_SDK=36 ANDROID_BUILD_TOOLS=36.0.0 ANDROID_SDK_TOOLS_VERSION=14742923 NODE_MAJOR=22 /bin/sh -c useradd -m ci && chown -R ci:ci "${ANDROID_SDK_ROOT}" # buildkit
USER ci
CMD ["/bin/bash"]

Labels

Key Value
maintainer nobody
org.opencontainers.image.created 2026-05-10T20:05:45.045Z
org.opencontainers.image.description
org.opencontainers.image.licenses
org.opencontainers.image.revision a833c6487f2ffd775d71558ac2bad5d5e92d94f5
org.opencontainers.image.source https://git.roshless.me/infra/oci-images
org.opencontainers.image.title oci-images
org.opencontainers.image.url https://git.roshless.me/infra/oci-images
org.opencontainers.image.version 202605102205
Details
Container
2026-05-10 22:08:58 +02:00
15
OCI / Docker
linux/amd64
800 MiB
Versions (6) View all
202606091419 2026-06-09
latest 2026-06-09
202605102219 2026-05-10
202605102205 2026-05-10
202605010500 2026-05-01