Walter Oggioni woggioni
  • Joined on 2024-03-17

opencode (1.18.10-bin)

Published 2026-07-30 17:19:48 +02:00 by woggioni in woggioni/docker-images

Installation

docker pull gitea.woggioni.net/woggioni/opencode:1.18.10-bin
sha256:4b20ed87467ead5cf47f4a10ba205f38ccb5a39e708e50cc25283db935a49301

Images

Digest OS / Arch Size
5a3840a623 linux/amd64 1.7 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=20260726.0.562117
LABEL org.opencontainers.image.revision=34b87485162b028c8d957bdcd2674359d883cd21
LABEL org.opencontainers.image.created=2026-07-26T00:10:38+00:00
COPY /rootfs/ / # buildkit
RUN /bin/sh -c ldconfig && sed -i '/BUILD_ID/a VERSION_ID=20260726.0.562117' /etc/os-release # buildkit
ENV LANG=C.UTF-8
CMD ["/usr/bin/bash"]
ARG OPENCODE_VERSION=1.18.10
COPY mirrorlist /etc/pacman.d/mirrolist # buildkit
RUN |1 OPENCODE_VERSION=1.18.10 /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.18.10 /bin/sh -c pacman-key --add repository.key # buildkit
RUN |1 OPENCODE_VERSION=1.18.10 /bin/sh -c pacman-key --lsign-key 0D28BF66FDB45D18D8EBEE5D4C91DADCD00B3F77 # buildkit
RUN |1 OPENCODE_VERSION=1.18.10 /bin/sh -c cat pacman-gitea-repository.conf >> /etc/pacman.conf # buildkit
RUN |1 OPENCODE_VERSION=1.18.10 /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=1.18.10 /bin/sh -c rm repository.key # buildkit
RUN |1 OPENCODE_VERSION=1.18.10 /bin/sh -c pacman -Syu --noconfirm # buildkit
RUN |1 OPENCODE_VERSION=1.18.10 /bin/sh -c pacman -S --noconfirm --needed xdg-utils rustup rust-analyzer jdtls 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 # buildkit
RUN |1 OPENCODE_VERSION=1.18.10 /bin/sh -c pacman -S --noconfirm --needed jdk25-graalvm-bin # buildkit
RUN |1 OPENCODE_VERSION=1.18.10 /bin/sh -c useradd -m -d /var/lib/opencode opencode # buildkit
RUN |1 OPENCODE_VERSION=1.18.10 /bin/sh -c mkdir /workspace # buildkit
RUN |1 OPENCODE_VERSION=1.18.10 /bin/sh -c chown opencode:opencode /workspace # buildkit
USER opencode
RUN |1 OPENCODE_VERSION=1.18.10 /bin/sh -c pipx install pyright # buildkit
RUN |1 OPENCODE_VERSION=1.18.10 /bin/sh -c pipx install pip-tools # buildkit
USER root
ADD --chown=opencode:opencode ./opencode.json /etc/opencode/opencode.json # buildkit
RUN |1 OPENCODE_VERSION=1.18.10 /bin/sh -c mkdir -p /usr/lib/opencode/addons # buildkit
ADD --chmod=644 https://repo1.maven.org/maven2/org/projectlombok/lombok/1.18.46/lombok-1.18.46.jar /usr/lib/opencode/addons/lombok.jar # buildkit
ENV OPENCODE_CONFIG=/etc/opencode/opencode.json
USER opencode
WORKDIR /workspace
ENTRYPOINT ["opencode"]
VOLUME [/var/lib/opencode /workspace]
ADD https://github.com/anomalyco/opencode/releases/download/v1.18.10/opencode-linux-x64.tar.gz /usr/bin # 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-07-26T00:10:38+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 34b87485162b028c8d957bdcd2674359d883cd21
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 20260726.0.562117
Details
Container
2026-07-30 17:19:48 +02:00
0
OCI / Docker
Versions (36) View all
1.18.10-bfs 2026-07-30
latest 2026-07-30
1.18.10 2026-07-30
1.18.10-bin 2026-07-30
1.18.5-bfs 2026-07-25