opencode-docker (24973dbf2fc286f765e6a7520fdb2d6e11ddb807)

Published 2026-11-28 02:21:31 +00:00 by imagebuilder in lukko.de/opencode-docker

Installation

docker pull git.lukko.de/lukko.de/opencode-docker:24973dbf2fc286f765e6a7520fdb2d6e11ddb807
sha256:b0d87085d6ed1249c7552670da79cd43aaf32e91613c3a5b2502625bfc9bfa9c

About this package

Official containerd image of Arch Linux, a simple, lightweight Linux distribution aimed for flexibility.

Image layers

LABEL org.opencontainers.image.title="Arch Linux base-devel 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="20261113.0.624902"
LABEL org.opencontainers.image.revision="d9f7a01562208910488140c54ffe402c3e7a231e"
LABEL org.opencontainers.image.created="2026-11-13T09:08:55+00:00"
COPY dir:754a15f434b46c52737173b88ad9ef5fd3551f5322a7cec1c7059ee5c079b0d6 in /
/bin/sh -c ldconfig && sed -i '/BUILD_ID/a VERSION_ID=20261113.0.624902' /etc/os-release
ENV LANG=C.UTF-8
CMD ["/usr/bin/bash"]
ADD https://raw.githubusercontent.com/greyltc/docker-archlinux/master/get-new-mirrors.sh /usr/bin/get-new-mirrors # buildkit
RUN /bin/sh -c chmod +x /usr/bin/get-new-mirrors # buildkit
RUN /bin/sh -c get-new-mirrors # buildkit
ARG AUR_USER=ab
ARG HELPER=paru
ADD add-aur.sh /root # buildkit
RUN |2 AUR_USER=ab HELPER=paru /bin/sh -c bash /root/add-aur.sh "${AUR_USER}" "${HELPER}" # buildkit
WORKDIR /app/opencode
RUN mkdir -p /app/opencode/.config/opencode /var/ab/.local && chown -R ab:ab /var/ab && usermod -s /bin/bash ab && printf '# Allow ab user to run pacman, paru, and yay without password\nab ALL=(ALL) NOPASSWD: /usr/bin/pacman\nab ALL=(ALL) NOPASSWD: /usr/bin/paru\nab ALL=(ALL) NOPASSWD: /usr/bin/yay\n' > /etc/sudoers.d/opencode && chmod 0440 /etc/sudoers.d/opencode
RUN pacman -Sy --noconfirm reflector && reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist && pacman -Syu --noconfirm git curl kubectl helm bash docker python3 docker-compose sudo nodejs npm uv nvidia-utils libglvnd vulkan-icd-loader && usermod -aG docker ab && pacman -Sc --noconfirm
ENV OPENDIR=/app/opencode
ENV NODE_ENV=production
ENV USER=ab
WORKDIR /var/ab
EXPOSE 4096
CMD ["opencode"]
RUN npm install -g @opencode/cli
RUN sudo -H -u ab paru -S --needed --noconfirm --skipreview rtk-bin
RUN sudo -H -u ab rtk init -g --opencode
ARG HINDSIGHT_CA_VERSION # pin the version into the image
RUN mkdir -p /opt/hindsight && npm install --prefix /opt/hindsight "@vectorize-io/hindsight-coding-agents@${HINDSIGHT_CA_VERSION}" && mkdir -p /var/ab/.hindsight && cp -r /opt/hindsight/node_modules/@vectorize-io/hindsight-coding-agents /var/ab/.hindsight/coding-agents && chown -R ab:ab /var/ab/.hindsight
RUN node /usr/lib/node_modules/@opencode/cli/postinstall.mjs
WORKDIR /var/ab

Labels

Key Value
com.lukko.build.fingerprint 24973dbf2fc286f765e6a7520fdb2d6e11ddb807
com.lukko.build.imagename opencode-docker
io.buildah.version 1.46.0
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-11-13T09:08:55+00:00
org.opencontainers.image.description Official containerd image of Arch Linux, a simple, lightweight Linux distribution aimed for flexibility.
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 24973dbf2fc286f765e6a7520fdb2d6e11ddb807
org.opencontainers.image.source https://git.lukko.de/lukko.de/opencode-docker.git
org.opencontainers.image.title Arch Linux base-devel Image
org.opencontainers.image.url https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/master/README.md
org.opencontainers.image.version 20261113.0.624902
Details
Container
2026-11-28 02:21:31 +00:00
9
2026-12-02 02:17:47 +00:00
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
2.9 GiB
Versions (2) View all