oci-images/android-build-base (sha256:1ca2f375eb067bae39313615a9cb0885b8af2f89ba354452e0d2339bcc1e2bcc)

Published 2026-09-10 23:22:01 +02:00 by roshless in infra/oci-images

Installation

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

Image layers

umoci raw add-layer --image /home/buildd/rockcraft-ubuntu-e1c60b1bc0d25a2115f571511888c62b/images/ubuntu:rockcraft-base /home/buildd/rockcraft-ubuntu-e1c60b1bc0d25a2115f571511888c62b/images/.temp_layer.9485.tar --tag 26.04
umoci config --image /home/buildd/rockcraft-ubuntu-e1c60b1bc0d25a2115f571511888c62b/images/ubuntu:26.04 --clear=config.entrypoint --clear=config.cmd
umoci config --image /home/buildd/rockcraft-ubuntu-e1c60b1bc0d25a2115f571511888c62b/images/ubuntu:26.04 --clear=config.cmd --config.cmd /bin/bash
umoci config --image /home/buildd/rockcraft-ubuntu-e1c60b1bc0d25a2115f571511888c62b/images/ubuntu:26.04 --config.env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
umoci config --image /home/buildd/rockcraft-ubuntu-e1c60b1bc0d25a2115f571511888c62b/images/ubuntu:26.04 --clear=config.labels --config.label org.opencontainers.image.version=26.04 --config.label org.opencontainers.image.title=ubuntu --config.label org.opencontainers.image.created=2026-09-01T20:37:00.369571+00:00 --config.label org.opencontainers.image.description=The Ubuntu container image maintained by Canonical Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things. It is the world's most popular operating system across public clouds and OpenStack clouds. It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale. Fast, secure and simple, Ubuntu powers millions of PCs worldwide.
umoci config --image /home/buildd/rockcraft-ubuntu-e1c60b1bc0d25a2115f571511888c62b/images/ubuntu:26.04 --clear=manifest.annotations --manifest.annotation org.opencontainers.image.version=26.04 --manifest.annotation org.opencontainers.image.title=ubuntu --manifest.annotation org.opencontainers.image.created=2026-09-01T20:37:00.369571+00:00 --manifest.annotation org.opencontainers.image.description=The Ubuntu container image maintained by Canonical Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things. It is the world's most popular operating system across public clouds and OpenStack clouds. It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale. Fast, secure and simple, Ubuntu powers millions of PCs worldwide.
umoci raw add-layer --image /home/buildd/rockcraft-ubuntu-e1c60b1bc0d25a2115f571511888c62b/images/ubuntu:26.04 /home/buildd/rockcraft-ubuntu-e1c60b1bc0d25a2115f571511888c62b/images/.temp_layer.control_data.9485.tar
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-09-10T21:18:01.925Z
org.opencontainers.image.description
org.opencontainers.image.licenses
org.opencontainers.image.revision ca14caa44da062ce59ec7022c2d01df7e7d9f362
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 202609102301
Details
Container
2026-09-10 23:22:01 +02:00
40
OCI / Docker
linux/amd64
839 MiB
Versions (6) View all
202609102301 2026-09-10
latest 2026-09-10
202609010500 2026-09-01
202607282129 2026-07-28
202607010459 2026-07-01