Walter Oggioni woggioni
  • Joined on 2024-03-17

opencode (1.3.13)

Published 2026-04-01 17:05:32 +02:00 by woggioni in woggioni/docker-images

Installation

docker pull gitea.woggioni.net/woggioni/opencode:1.3.13
sha256:c95c649982b9f822dad255ada074902b060a1eae818dbd60132553866ce759ae

Images

Digest OS / Arch Size
07faf1decc linux/amd64 1.4 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=20260329.0.507017
LABEL org.opencontainers.image.revision=0d7c4c0017584f9bcb495105cc412d6575f04564
LABEL org.opencontainers.image.created=2026-03-29T00:10:46+00:00
COPY /rootfs/ / # buildkit
RUN /bin/sh -c ldconfig && sed -i '/BUILD_ID/a VERSION_ID=20260329.0.507017' /etc/os-release # buildkit
ENV LANG=C.UTF-8
CMD ["/usr/bin/bash"]
ARG OPENCODE_VERSION=1.3.13
COPY mirrorlist /etc/pacman.d/mirrolist # buildkit
RUN |1 OPENCODE_VERSION=1.3.13 /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=1.3.13 /bin/sh -c pacman-key --add repository.key # buildkit
RUN |1 OPENCODE_VERSION=1.3.13 /bin/sh -c pacman-key --lsign-key 0D28BF66FDB45D18D8EBEE5D4C91DADCD00B3F77 # buildkit
RUN |1 OPENCODE_VERSION=1.3.13 /bin/sh -c cat pacman-gitea-repository.conf >> /etc/pacman.conf # buildkit
RUN |1 OPENCODE_VERSION=1.3.13 /bin/sh -c echo PATH DEFAULT=${HOME}/.local/bin:/usr/local/bin:/bin >> /etc/security/pam_env.conf # buildkit
RUN |1 OPENCODE_VERSION=1.3.13 /bin/sh -c rm repository.key # buildkit
RUN |1 OPENCODE_VERSION=1.3.13 /bin/sh -c pacman -Syu --noconfirm # buildkit
RUN |1 OPENCODE_VERSION=1.3.13 /bin/sh -c pacman -S --noconfirm --needed rustup rust-analyzer jdtls python-pipx ripgrep git rustup gradle curl sccache helix bash-language-server marksman python-lsp-server vscode-css-languageserver vscode-html-languageserver vscode-json-languageserver yaml-language-server # buildkit
RUN |1 OPENCODE_VERSION=1.3.13 /bin/sh -c pacman -S --noconfirm --needed jdk25-graalvm-ce-bin # buildkit
RUN |1 OPENCODE_VERSION=1.3.13 /bin/sh -c useradd -m -d /var/lib/opencode opencode # buildkit
RUN |1 OPENCODE_VERSION=1.3.13 /bin/sh -c mkdir /workspace # buildkit
RUN |1 OPENCODE_VERSION=1.3.13 /bin/sh -c chown opencode:opencode /workspace # buildkit
USER opencode
RUN |1 OPENCODE_VERSION=1.3.13 /bin/sh -c pipx install pyright # buildkit
USER root
ADD https://github.com/anomalyco/opencode/releases/download/v1.3.13/opencode-linux-x64.tar.gz ./opencode.tgz # buildkit
RUN |1 OPENCODE_VERSION=1.3.13 /bin/sh -c tar -xvf ./opencode.tgz -C /usr/bin # buildkit
RUN |1 OPENCODE_VERSION=1.3.13 /bin/sh -c rm opencode.tgz # buildkit
ADD --chown=opencode:opencode ./opencode.json /etc/opencode/opencode.json # buildkit
RUN |1 OPENCODE_VERSION=1.3.13 /bin/sh -c mkdir -p /usr/lib/opencode/addons # buildkit
ADD --chmod=644 https://repo1.maven.org/maven2/org/projectlombok/lombok/1.18.44/lombok-1.18.44.jar /usr/lib/opencode/addons/lombok.jar # buildkit
ENV OPENCODE_CONFIG=/etc/opencode/opencode.json
ENV EDITOR=helix
USER opencode
WORKDIR /workspace
ENTRYPOINT ["opencode"]
VOLUME [/var/lib/opencode /workspace]

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-03-29T00:10:46+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 0d7c4c0017584f9bcb495105cc412d6575f04564
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 20260329.0.507017
Details
Container
2026-04-01 17:05:32 +02:00
2
OCI / Docker
Versions (22) View all
latest 2026-06-12
1.17.4 2026-06-12
1.16.2 2026-06-09
1.16.0 2026-06-05
1.15.13 2026-06-01