Steffen Illium steffen

opencode-custom (6ea5cdeedbf9085532e3e808c90d8d8cca568679)

Published 2026-09-05 08:02:53 +02:00 by steffen

Installation

docker pull gitea.steffenillium.de/steffen/opencode-custom:6ea5cdeedbf9085532e3e808c90d8d8cca568679
sha256:14a7c65f40755d243808e8eecec308f227b23b778701c10841e8167a42a1cfd5

Images

Digest OS / Arch Size
5a71bf661a linux/amd64 614 MiB

Image Layers ( linux/amd64)

ADD alpine-minirootfs-3.24.1-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
ARG BUN_RUNTIME_TRANSPILER_CACHE_PATH=0
ENV BUN_RUNTIME_TRANSPILER_CACHE_PATH=0
RUN |1 BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 /bin/sh -c apk add libgcc libstdc++ ripgrep # buildkit
COPY dist/opencode-linux-x64-baseline-musl/bin/opencode /usr/local/bin/opencode # buildkit
RUN |1 BUN_RUNTIME_TRANSPILER_CACHE_PATH=0 /bin/sh -c opencode --version # buildkit
ENTRYPOINT ["opencode"]
RUN /bin/sh -c apk add --no-cache gcompat nodejs curl npm git # buildkit
ARG BUN_VERSION=1.3.9
RUN |1 BUN_VERSION=1.3.9 /bin/sh -c wget -qO /tmp/bun.zip "https://github.com/oven-sh/bun/releases/download/bun-v${BUN_VERSION}/bun-linux-x64.zip" && unzip -o /tmp/bun.zip -d /tmp/ && cp /tmp/bun-linux-x64/bun /usr/local/bin/bun && chmod +x /usr/local/bin/bun && rm -rf /tmp/bun* && bun --version # buildkit
RUN |1 BUN_VERSION=1.3.9 /bin/sh -c npm install -g @colbymchenry/codegraph @colbymchenry/codegraph-linux-x64 && NODE_PATH=$(npm root -g) node -e "require('@colbymchenry/codegraph')" # buildkit
RUN |1 BUN_VERSION=1.3.9 /bin/sh -c apk add --no-cache python3 py3-pip python3-dev musl-dev gcc postgresql-dev # buildkit
RUN |1 BUN_VERSION=1.3.9 /bin/sh -c curl -LsSf https://astral.sh/uv/install.sh | sh && . "$HOME/.local/bin/env" && uv --version # buildkit
RUN |1 BUN_VERSION=1.3.9 /bin/sh -c ln -sf /root/.local/bin/uv /usr/local/bin/uv # buildkit
RUN |1 BUN_VERSION=1.3.9 /bin/sh -c npm install -g pnpm # buildkit
RUN |1 BUN_VERSION=1.3.9 /bin/sh -c apk add --no-cache postgresql postgresql-pgvector # buildkit
RUN |1 BUN_VERSION=1.3.9 /bin/sh -c mkdir -p /run/postgresql && chown postgres:postgres /run/postgresql && su - postgres -c "initdb -D /var/lib/postgresql/data" && su - postgres -c "pg_ctl -D /var/lib/postgresql/data start" && su - postgres -c "psql -c \"CREATE USER remynd WITH PASSWORD 'remynd';\"" && su - postgres -c "psql -c \"CREATE DATABASE remynd_dev OWNER remynd;\"" && su - postgres -c "psql -d remynd_dev -c 'CREATE EXTENSION IF NOT EXISTS vector;'" # buildkit
ENV DATABASE_URL=postgresql://remynd:remynd@localhost:5432/remynd_dev
RUN |1 BUN_VERSION=1.3.9 /bin/sh -c echo '. "$HOME/.local/bin/env"' > /root/.profile # buildkit
ENV PATH=/root/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
COPY entrypoint.sh /entrypoint.sh # buildkit
RUN |1 BUN_VERSION=1.3.9 /bin/sh -c chmod +x /entrypoint.sh # buildkit
ENTRYPOINT ["/entrypoint.sh"]
CMD ["opencode"]
Details
Container
2026-09-05 08:02:53 +02:00
0
OCI / Docker
Versions (2) View all