cc (sha256:7ba4b5f0ee0bc46fef6ac4b11b2f28f58bc31658e1714d1893b558d782469d41)

Published 2026-04-14 17:23:10 +00:00 by ordinarthur

Installation

docker pull git.arthurbarre.fr/ordinarthur/cc@sha256:7ba4b5f0ee0bc46fef6ac4b11b2f28f58bc31658e1714d1893b558d782469d41
sha256:7ba4b5f0ee0bc46fef6ac4b11b2f28f58bc31658e1714d1893b558d782469d41

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=24.04
ADD file:0f6466425c4f1800aae9224ddc3437b90c829cea58fb8edd5dde2f1eb0ee28da in /
CMD ["/bin/bash"]
ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 LC_ALL=C.UTF-8 TERM=xterm-256color HOME=/home/cc
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl wget gnupg lsb-release git openssh-client tmux less vim nano jq ripgrep build-essential python3 python3-pip python3-venv ttyd tini && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y --no-install-recommends nodejs && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c curl -fsSLo /usr/local/bin/kubectl "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && chmod +x /usr/local/bin/kubectl # buildkit
RUN /bin/sh -c pip3 install --no-cache-dir --break-system-packages ansible # buildkit
RUN /bin/sh -c npm install -g @anthropic-ai/claude-code # buildkit
RUN /bin/sh -c userdel -r ubuntu 2>/dev/null || true && useradd -m -u 1000 -s /bin/bash cc && mkdir -p /home/cc/.ssh /home/cc/workspace && chown -R cc:cc /home/cc # buildkit
RUN /bin/sh -c printf 'set -g mouse on\nset -g history-limit 50000\nset -g default-terminal "screen-256color"\nset -g status-right "#[fg=cyan]#H"\n' > /home/cc/.tmux.conf && chown cc:cc /home/cc/.tmux.conf # buildkit
RUN /bin/sh -c printf '\n# cc aliases\nalias cc="claude"\nalias k="kubectl"\nexport KUBECONFIG=$HOME/.kube/config\n' >> /home/cc/.bashrc # buildkit
COPY entrypoint.sh /usr/local/bin/entrypoint.sh # buildkit
RUN /bin/sh -c chmod +x /usr/local/bin/entrypoint.sh # buildkit
USER cc
WORKDIR /home/cc
EXPOSE [7681/tcp]
ENTRYPOINT ["/usr/bin/tini" "--" "/usr/local/bin/entrypoint.sh"]

Labels

Key Value
org.opencontainers.image.version 24.04
Details
Container
2026-04-14 17:23:10 +00:00
1
OCI / Docker
linux/amd64
405 MiB
Versions (1) View all
0.1.0 2026-04-14