oci-images/android-build-base (sha256:4d24c37f001bacd267382ea8e789116bf1a817b9965005450863f477936e943f)

Published 2026-07-28 22:41:07 +02:00 by roshless in infra/oci-images

Installation

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

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=24.04
ADD file:8c609c85109d07bf47cf268a175b3be8bbe34fc0c41d15d99b090d099f4dc837 in /
CMD ["/bin/bash"]
LABEL maintainer=nobody
ARG ANDROID_COMPILE_SDK=37.1
ARG ANDROID_BUILD_TOOLS=37.0.0
ARG ANDROID_SDK_TOOLS_VERSION=15859902
ARG NODE_MAJOR=24
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=37.1 ANDROID_BUILD_TOOLS=37.0.0 ANDROID_SDK_TOOLS_VERSION=15859902 NODE_MAJOR=24 /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=37.1 ANDROID_BUILD_TOOLS=37.0.0 ANDROID_SDK_TOOLS_VERSION=15859902 NODE_MAJOR=24 /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=37.1 ANDROID_BUILD_TOOLS=37.0.0 ANDROID_SDK_TOOLS_VERSION=15859902 NODE_MAJOR=24 /bin/sh -c yes | sdkmanager --licenses > /dev/null 2>&1 || true # buildkit
RUN |4 ANDROID_COMPILE_SDK=37.1 ANDROID_BUILD_TOOLS=37.0.0 ANDROID_SDK_TOOLS_VERSION=15859902 NODE_MAJOR=24 /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=37.1 ANDROID_BUILD_TOOLS=37.0.0 ANDROID_SDK_TOOLS_VERSION=15859902 NODE_MAJOR=24 /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=37.1 ANDROID_BUILD_TOOLS=37.0.0 ANDROID_SDK_TOOLS_VERSION=15859902 NODE_MAJOR=24 /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-07-28T20:36:39.067Z
org.opencontainers.image.description
org.opencontainers.image.licenses
org.opencontainers.image.revision 4f824e7bda2a4b81bf6c020ef5bd74be25502585
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 202607282129
Details
Container
2026-07-28 22:41:07 +02:00
8
OCI / Docker
linux/amd64
820 MiB
Versions (6) View all
202607282129 2026-07-28
latest 2026-07-28
202607010459 2026-07-01
202606091419 2026-06-09
202605102219 2026-05-10