• Joined on 2025-11-02

agent-test (1712da106f9884ad9e82c8d8e60688238c49343e)

Published 2026-02-09 22:28:22 +01:00 by mat

Installation

docker pull git.mialemrobicnic.pl/mat/agent-test:1712da106f9884ad9e82c8d8e60688238c49343e
sha256:d47204cbbac489441898bfbaa2e942e70862ab9c65dbe017b20de1cb3fe37143

About this package

Base image with Claude Code CLI for agent containers

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=20260201.0.486523
LABEL org.opencontainers.image.revision=0d7c4c0017584f9bcb495105cc412d6575f04564
LABEL org.opencontainers.image.created=2026-02-01T00:07:02+00:00
COPY /rootfs/ / # buildkit
RUN /bin/sh -c ldconfig && sed -i '/BUILD_ID/a VERSION_ID=20260201.0.486523' /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 && 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 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 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 CLAUDE_MODEL=claude-haiku-4-5 AGENTS_MD=/agent/AGENTS.md
LABEL org.opencontainers.image.title=Agent Base Image org.opencontainers.image.description=Base image with Claude Code CLI for agent containers org.opencontainers.image.source=https://git.wrobel.cloud/agent/containers agent.type=base
ENTRYPOINT ["/agent/scripts/entrypoint.sh"]
CMD ["--help"]
USER root
RUN /bin/sh -c echo "nameserver 8.8.8.8" > /etc/resolv.conf.override # buildkit
ENV DOCKER_OPTS=--dns 8.8.8.8 --dns 8.8.4.4
RUN /bin/sh -c pacman -S --noconfirm --needed rust cargo ca-certificates && pacman -Scc --noconfirm && update-ca-trust # buildkit
USER agent
WORKDIR /workspace
COPY --chown=agent:agent ./agent-cli ./agent-cli # buildkit
WORKDIR /workspace/agent-cli
RUN /bin/sh -c cargo build --release && cargo test --no-run # buildkit
RUN /bin/sh -c mkdir -p /home/agent/.config/agent-cli && mkdir -p /workspace/test-projects/project-a && mkdir -p /workspace/test-projects/project-b && echo '{"name": "project-a"}' > /workspace/test-projects/project-a/package.json && echo '[package]\nname = "project-b"' > /workspace/test-projects/project-b/Cargo.toml # buildkit
RUN /bin/sh -c echo '[projects]\npaths = ["/workspace/test-projects"]\nignore = []\nmax_depth = 3\n\n[defaults]\nagent = "claude"\nsession_prefix = "agent-"\n\n[agents.claude]\ncommand = "claude"' > /home/agent/.config/agent-cli/config.toml # buildkit
WORKDIR /workspace/agent-cli
ENTRYPOINT []
CMD ["/bin/bash"]

Labels

Key Value
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-02-01T00:07:02+00:00
org.opencontainers.image.description Base image with Claude Code CLI for agent containers
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 Agent Base Image
org.opencontainers.image.url https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/master/README.md
org.opencontainers.image.version 20260201.0.486523
Details
Container
2026-02-09 22:28:22 +01: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
1.1 GiB
Versions (31) View all