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

Published 2026-06-09 14:23:05 +02:00 by roshless in infra/oci-images

Installation

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

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=24.04
ADD file:46ac5b8ee4c64ad9ebe840abd5619f571a617ac19483764d47d0eeba7907934f in /
CMD ["/bin/bash"]
LABEL maintainer=nobody
ARG ANDROID_COMPILE_SDK=36
ARG ANDROID_BUILD_TOOLS=37.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/37.0.0
RUN |4 ANDROID_COMPILE_SDK=36 ANDROID_BUILD_TOOLS=37.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=37.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=37.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=37.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=37.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=37.0.0 ANDROID_SDK_TOOLS_VERSION=14742923 NODE_MAJOR=22 /bin/sh -c useradd -m ci && chown -R ci:ci "${ANDROID_SDK_ROOT}" && mkdir -p "${GRADLE_USER_HOME}" && chown -R ci:ci "${GRADLE_USER_HOME}" # buildkit
USER ci
CMD ["/bin/bash"]

Labels

Key Value
maintainer nobody
org.opencontainers.image.created 2026-06-09T12:19:56.904Z
org.opencontainers.image.description
org.opencontainers.image.licenses
org.opencontainers.image.revision 56677787c89e820cafd78e1705ff7f0d6966f522
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 202606091419
Details
Container
2026-06-09 14:23:05 +02:00
20
OCI / Docker
linux/amd64
804 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