opencode-docker (latest)

Published 2026-10-02 02:16:04 +00:00 by imagebuilder in lukko.de/opencode-docker

Installation

docker pull git.lukko.de/lukko.de/opencode-docker:latest
sha256:fc68f0bc32073637f82d346890f96a06d09e80fb4f4b627b8e911627fa9dafb0

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="20260927.0.600689"
LABEL org.opencontainers.image.revision="34b87485162b028c8d957bdcd2674359d883cd21"
LABEL org.opencontainers.image.created="2026-09-27T00:10:06+00:00"
COPY dir:eacd5f927d5c5d1639aa20319b048defbfeb95392e6f2c90a3dab14c0a79faa0 in /
/bin/sh -c ldconfig && sed -i '/BUILD_ID/a VERSION_ID=20260927.0.600689' /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 i -g opencode-ai@latest
RUN sudo -u ab paru -Sy rtk-bin
RUN sudo -u ab rtk init -g --opencode
WORKDIR /usr/lib/node_modules/opencode-ai/
RUN node ./postinstall.mjs
WORKDIR /var/ab

Labels

Key Value
com.lukko.build.fingerprint 9a8af4d01f598b233943def9352da0ef32f2d97c
com.lukko.build.imagename opencode-docker
io.buildah.version 1.45.1
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-09-27T00:10:06+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 9a8af4d01f598b233943def9352da0ef32f2d97c
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 20260927.0.600689
Details
Container
2026-10-02 02:16:04 +00:00
444
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 GiB
Versions (2) View all