opencode (latest)
Published 2026-11-06 07:09:06 +00:00 by mkovac
Installation
docker pull git.metalica.space/mkovac/opencode:latestsha256:3d050fec88fc5f6954c157c318ef95ddf8334873b1e989dc5ff84ed62170acd9Image layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1793827419' |
| ENV DEBIAN_FRONTEND=noninteractive |
| /bin/sh -c echo "deb http://deb.debian.org/debian trixie-backports main contrib non-free" > /etc/apt/sources.list.d/backports.list |
| /bin/sh -c echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf.d/01no-recommends && echo 'APT::Install-Suggests "0";' >> /etc/apt/apt.conf.d/01no-recommends |
| /bin/sh -c useradd -m -s /bin/bash debian && mkdir -p /etc/sudoers.d && echo "debian ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/debian && chmod 0440 /etc/sudoers.d/debian |
| ARG CACHE_DATE |
| |1 CACHE_DATE=1970-01-01 /bin/sh -c apt-get update && apt-get dist-upgrade -y && apt-get install -y --no-install-recommends curl ca-certificates git openssh-client sudo less && apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* |
| ENV DEBIAN_FRONTEND=noninteractive |
| /bin/sh -c apt-get update && apt-get install -y jq gh glab ripgrep && echo apt 1 done =============================================== && apt-get install -y ansible ansible-lint && echo apt ansible done =============================================== && apt-get install -y python3 python-is-python3 python3-git python3-loguru python3-loguru python3-pynetbox python3-openpyxl python3-py python3-pytest python3-pydantic python3-pyinotify && echo apt python1 done =============================================== && apt-get install -y python3-git python3-loguru && apt-get install -y pre-commit-hooks pre-commit && echo apt python2 done =============================================== && apt-get install -y --no-install-recommends debos less pipx && echo apt debos pipx done =============================================== && pipx install uv && ln -s /root/.local/bin/uv /usr/local/bin/uv && apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* |
| USER debian |
| WORKDIR /home/debian |
| ENV DEBIAN_FRONTEND=noninteractive |
| USER debian |
| WORKDIR /home/debian |
| /bin/sh -c mkdir -p ~/.ssh && ssh-keyscan -T 5 github.com >> ~/.ssh/known_hosts 2>/dev/null || true |
| /bin/sh -c curl -fsSL https://opencode.ai/install | bash |
| ENV PATH="/home/debian/.opencode/bin:${PATH}" |
| /bin/sh -c mkdir -p ~/.local/share/opencode ~/.config/opencode |
Labels
| Key | Value |
|---|---|
| io.buildah.version | 1.39.3 |
Annotations
| Key | Value |
|---|---|
| org.opencontainers.image.base.digest | sha256:cfd2e5c385a13747eddf73c046d6df7a80fb1f4ed4be6202291cea9425d542b2 |
| org.opencontainers.image.base.name | git.metalica.space/mkovac/trixie-dev:latest |
Details
2026-11-06 07:09:06 +00:00
Versions (4)
View all
Container
3
OCI / Docker
linux/amd64
618 MiB
latest
2026-11-06
sha-01035d63a65d
2026-10-30
sha-4d9e67565062
2026-10-30
sha-dbc814792643
2026-10-30