opencode (latest)

Published 2026-11-14 21:42:34 +01:00 by woggioni in woggioni/docker-images

Installation

docker pull gitea.woggioni.net/woggioni/opencode:latest
sha256:6c4c2d7f512678a0986a2163b3a55e8c813b037c7fde3da89b3497bcc3dda1b9

Images

Digest OS / Arch Size
ee4deeb87d linux/amd64 1.6 GiB

Image Layers ( linux/amd64)

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=20261108.0.623074
LABEL org.opencontainers.image.revision=d9f7a01562208910488140c54ffe402c3e7a231e
LABEL org.opencontainers.image.created=2026-11-08T00:09:13+00:00
COPY /rootfs/ / # buildkit
RUN /bin/sh -c ldconfig && sed -i '/BUILD_ID/a VERSION_ID=20261108.0.623074' /etc/os-release # buildkit
ENV LANG=C.UTF-8
CMD ["/usr/bin/bash"]
ARG OPENCODE_VERSION=2.3.0
COPY mirrorlist /etc/pacman.d/mirrolist # buildkit
RUN |1 OPENCODE_VERSION=2.3.0 /bin/sh -c pacman-key --init # buildkit
ADD https://gitea.woggioni.net/api/packages/woggioni/arch/repository.key ./repository.key # buildkit
RUN |1 OPENCODE_VERSION=2.3.0 /bin/sh -c pacman-key --add repository.key # buildkit
RUN |1 OPENCODE_VERSION=2.3.0 /bin/sh -c pacman-key --lsign-key 0D28BF66FDB45D18D8EBEE5D4C91DADCD00B3F77 # buildkit
RUN |1 OPENCODE_VERSION=2.3.0 /bin/sh -c cat pacman-gitea-repository.conf >> /etc/pacman.conf # buildkit
RUN |1 OPENCODE_VERSION=2.3.0 /bin/sh -c echo 'PATH DEFAULT=${HOME}/.local/bin:${HOME}/.cargo/bin:/usr/local/bin:/bin' >> /etc/security/pam_env.conf # buildkit
RUN |1 OPENCODE_VERSION=2.3.0 /bin/sh -c rm repository.key # buildkit
RUN |1 OPENCODE_VERSION=2.3.0 /bin/sh -c pacman -Syu --noconfirm # buildkit
RUN |1 OPENCODE_VERSION=2.3.0 /bin/sh -c pacman -S --noconfirm --needed xdg-utils rustup rust-analyzer python-pipx ripgrep git rustup gradle curl sccache openssh bash-language-server marksman python-lsp-server vscode-css-languageserver x86_64-unknown-linux-musl-zlib x86_64-unknown-linux-musl-gcc vscode-html-languageserver vscode-json-languageserver yaml-language-server base-devel docker docker-buildx docker-compose less websocat npm gtk3 alsa-lib trunk python-uv openbsd-netcat jdk25-graalvm-bin go # buildkit
RUN |1 OPENCODE_VERSION=2.3.0 /bin/sh -c useradd -m -d /var/lib/opencode opencode # buildkit
RUN |1 OPENCODE_VERSION=2.3.0 /bin/sh -c mkdir /workspace # buildkit
RUN |1 OPENCODE_VERSION=2.3.0 /bin/sh -c chown opencode:opencode /workspace # buildkit
USER opencode
USER root
ADD --chown=opencode:opencode ./opencode.json /etc/opencode/opencode.json # buildkit
RUN |1 OPENCODE_VERSION=2.3.0 /bin/sh -c mkdir -p /usr/lib/opencode/addons # buildkit
ENV OPENCODE_CONFIG=/etc/opencode/opencode.json
USER opencode
WORKDIR /workspace
ENTRYPOINT ["opencode"]
VOLUME [/var/lib/opencode /workspace]
COPY --chown=root:root /home/builder/opencode/packages/cli/dist/cli-linux-x64/bin/opencode /usr/bin/opencode # buildkit

Labels

Key Value
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-08T00:09:13+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 d9f7a01562208910488140c54ffe402c3e7a231e
org.opencontainers.image.source https://gitlab.archlinux.org/archlinux/archlinux-docker
org.opencontainers.image.title Arch Linux base Image
org.opencontainers.image.url https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/master/README.md
org.opencontainers.image.version 20261108.0.623074
Details
Container
2026-11-14 21:42:34 +01:00
41
OCI / Docker
Versions (12) View all
latest 2026-11-14
2.3.0 2026-11-14
2.2.6 2026-11-10
2.2.5 2026-10-31
2.2.2 2026-10-30