• Joined on 2025-11-02

agent-kotlin-coder (0e2208dd81d4bc5ecb8d75368ee5d7ff0fe91ed3)

Published 2026-04-13 11:24:56 +02:00 by mat

Installation

docker pull git.mialemrobicnic.pl/mat/agent-kotlin-coder:0e2208dd81d4bc5ecb8d75368ee5d7ff0fe91ed3
sha256:99fafe5b63164e925170ed907a908dd2e25c099afe709987a61bbad4cfe4cd7c

About this package

Agent image with Kotlin, Android SDK/NDK, and Rust toolchain

Image Layers

LABEL org.opencontainers.image.title=Arch Linux base Image
LABEL org.opencontainers.image.description=Official containerd image of Arch Linux, a simple, lightweight Linux distribution aimed for flexibility.
LABEL org.opencontainers.image.authors=Santiago Torres-Arias <santiago@archlinux.org> (@SantiagoTorres), Christian Rebischke <Chris.Rebischke@archlinux.org> (@shibumi), Justin Kromlinger <hashworks@archlinux.org> (@hashworks)
LABEL org.opencontainers.image.url=https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/master/README.md
LABEL org.opencontainers.image.documentation=https://wiki.archlinux.org/title/Docker#Arch_Linux
LABEL org.opencontainers.image.source=https://gitlab.archlinux.org/archlinux/archlinux-docker
LABEL org.opencontainers.image.licenses=GPL-3.0-or-later
LABEL org.opencontainers.image.version=20260405.0.511327
LABEL org.opencontainers.image.revision=0d7c4c0017584f9bcb495105cc412d6575f04564
LABEL org.opencontainers.image.created=2026-04-05T00:07:03+00:00
COPY /rootfs/ / # buildkit
RUN /bin/sh -c ldconfig && sed -i '/BUILD_ID/a VERSION_ID=20260405.0.511327' /etc/os-release # buildkit
ENV LANG=C.UTF-8
CMD ["/usr/bin/bash"]
RUN /bin/sh -c pacman -Syu --noconfirm && pacman -S --noconfirm --needed base-devel git curl jq ripgrep fd docker docker-compose bash python && pacman -Scc --noconfirm && rm -rf /var/cache/pacman/pkg/* # buildkit
RUN /bin/sh -c curl -fsSL https://claude.ai/install.sh | bash && CLAUDE_BIN=$(readlink -f /root/.local/bin/claude) && cp "$CLAUDE_BIN" /usr/local/bin/claude && chmod +x /usr/local/bin/claude # buildkit
RUN /bin/sh -c curl -fsSL https://gh.io/copilot-install | bash # buildkit
RUN /bin/sh -c curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh && RTK_BIN=$(readlink -f /root/.local/bin/rtk 2>/dev/null || which rtk) && cp "$RTK_BIN" /usr/local/bin/rtk && chmod +x /usr/local/bin/rtk # buildkit
COPY /build/srclight/target/release/srclight /usr/local/bin/srclight # buildkit
RUN /bin/sh -c chmod +x /usr/local/bin/srclight # buildkit
RUN /bin/sh -c groupadd -g 1000 agent && useradd -u 1000 -g agent -G docker -m agent # buildkit
RUN /bin/sh -c mkdir -p /agent/scripts /agent/skills /workspace && chown -R agent:agent /agent /workspace # buildkit
COPY --chown=agent:agent containers/base/scripts/entrypoint.sh /agent/scripts/ # buildkit
RUN /bin/sh -c chmod +x /agent/scripts/entrypoint.sh # buildkit
USER agent
WORKDIR /workspace
ENV AGENT_TYPE=base WORKSPACE_PATH=/workspace AGENTS_MD=/workspace/AGENTS.md CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING=1
LABEL org.opencontainers.image.title=Agent Base Image org.opencontainers.image.description=Base image with Claude Code CLI and srclight for agent containers org.opencontainers.image.source=https://git.wrobel.cloud/agent/containers agent.type=base
RUN /bin/sh -c rtk init -g && rtk init -g --copilot # buildkit
ENTRYPOINT ["/agent/scripts/entrypoint.sh"]
CMD ["--help"]
ARG RUST_VERSION=1.94.1
USER root
RUN |1 RUST_VERSION=1.94.1 /bin/sh -c pacman -Syu --noconfirm && pacman -S --noconfirm --needed ca-certificates openssl alsa-lib && pacman -Scc --noconfirm && update-ca-trust && rm -rf /var/cache/pacman/pkg/* # buildkit
USER agent
ENV RUSTUP_HOME=/home/agent/.rustup CARGO_HOME=/home/agent/.cargo PATH=/home/agent/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |1 RUST_VERSION=1.94.1 /bin/sh -c curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain "${RUST_VERSION}" --profile minimal && rustup component add rust-src rustfmt clippy # buildkit
RUN |1 RUST_VERSION=1.94.1 /bin/sh -c mkdir -p /home/agent/.cargo/bin && curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C /home/agent/.cargo/bin && cargo install cargo-watch # buildkit
WORKDIR /tmp/cache-crates
RUN |1 RUST_VERSION=1.94.1 /bin/sh -c cargo init . && printf 'serde = { version = "1", features = ["derive"] }\n' >> Cargo.toml && printf 'serde_json = "1"\n' >> Cargo.toml && printf 'tokio = { version = "1", features = ["full"] }\n' >> Cargo.toml && printf 'anyhow = "1"\n' >> Cargo.toml && printf 'thiserror = "1"\n' >> Cargo.toml && printf 'clap = { version = "4", features = ["derive"] }\n' >> Cargo.toml && printf 'tracing = "0.1"\n' >> Cargo.toml && printf 'tracing-subscriber = "0.3"\n' >> Cargo.toml && printf 'config = "0.14"\n' >> Cargo.toml && printf 'chrono = { version = "0.4", features = ["serde"] }\n' >> Cargo.toml && printf 'uuid = { version = "1", features = ["v4", "serde"] }\n' >> Cargo.toml && cargo build --release && rm -rf /tmp/cache-crates # buildkit
WORKDIR /workspace
LABEL org.opencontainers.image.title=Rust Agent org.opencontainers.image.description=Agent image with Rust toolchain agent.capabilities.docker_socket=true agent.capabilities.can_run_compose=true
ARG RUST_VERSION=1.94.1
USER root
RUN |1 RUST_VERSION=1.94.1 /bin/sh -c pacman -Syu --noconfirm && pacman -S --noconfirm --needed jdk17-openjdk kotlin gradle unzip && pacman -Scc --noconfirm && rm -rf /var/cache/pacman/pkg/* # buildkit
ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk
ENV ANDROID_HOME=/opt/android-sdk
ENV ANDROID_SDK_ROOT=/opt/android-sdk
RUN |1 RUST_VERSION=1.94.1 /bin/sh -c mkdir -p $ANDROID_HOME/cmdline-tools && curl -fsSL https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip -o /tmp/cmdline-tools.zip && unzip -q /tmp/cmdline-tools.zip -d $ANDROID_HOME/cmdline-tools && mv $ANDROID_HOME/cmdline-tools/cmdline-tools $ANDROID_HOME/cmdline-tools/latest && rm /tmp/cmdline-tools.zip # buildkit
ENV PATH=/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/home/agent/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |1 RUST_VERSION=1.94.1 /bin/sh -c yes | sdkmanager --licenses > /dev/null 2>&1 && sdkmanager --install "platform-tools" "platforms;android-34" "build-tools;34.0.0" "ndk;27.0.12077973" # buildkit
ENV NDK_HOME=/opt/android-sdk/ndk/27.0.12077973
RUN |1 RUST_VERSION=1.94.1 /bin/sh -c chown -R agent:agent $ANDROID_HOME # buildkit
USER agent
ENV RUSTUP_HOME=/home/agent/.rustup
ENV CARGO_HOME=/home/agent/.cargo
ENV PATH=/home/agent/.cargo/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/home/agent/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |1 RUST_VERSION=1.94.1 /bin/sh -c curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain "${RUST_VERSION}" --profile minimal && rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android # buildkit
WORKDIR /workspace
LABEL org.opencontainers.image.title=Kotlin/Android Agent org.opencontainers.image.description=Agent image with Kotlin, Android SDK/NDK, and Rust toolchain agent.capabilities.docker_socket=true agent.capabilities.can_run_compose=true

Labels

Key Value
agent.capabilities.can_run_compose true
agent.capabilities.docker_socket true
agent.type base
org.opencontainers.image.authors Santiago Torres-Arias <santiago@archlinux.org> (@SantiagoTorres), Christian Rebischke <Chris.Rebischke@archlinux.org> (@shibumi), Justin Kromlinger <hashworks@archlinux.org> (@hashworks)
org.opencontainers.image.created 2026-04-05T00:07:03+00:00
org.opencontainers.image.description Agent image with Kotlin, Android SDK/NDK, and Rust toolchain
org.opencontainers.image.documentation https://wiki.archlinux.org/title/Docker#Arch_Linux
org.opencontainers.image.licenses GPL-3.0-or-later
org.opencontainers.image.revision 0d7c4c0017584f9bcb495105cc412d6575f04564
org.opencontainers.image.source https://git.wrobel.cloud/agent/containers
org.opencontainers.image.title Kotlin/Android Agent
org.opencontainers.image.url https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/master/README.md
org.opencontainers.image.version 20260405.0.511327
Details
Container
2026-04-13 11:24:56 +02:00
0
OCI / Docker
linux/amd64
Santiago Torres-Arias <santiago@archlinux.org> (@SantiagoTorres), Christian Rebischke <Chris.Rebischke@archlinux.org> (@shibumi), Justin Kromlinger <hashworks@archlinux.org> (@hashworks)
GPL-3.0-or-later
3.7 GiB
Versions (11) View all