dek

opencode-remote (0.1.0)

Published 2026-10-16 09:05:05 +00:00 by dek

Installation

docker pull git.yolops.net/dek/opencode-remote:0.1.0
sha256:3e12710a4f76b0db07c76d1fc7df46e6389959440000cb14953889e8f57c10db

Image layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1791158400'
ARG OPENCODE_VERSION=1.19.2
RUN |1 OPENCODE_VERSION=1.19.2 /bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends openssh-server openssh-client openssl git curl ca-certificates bash tini nodejs npm ripgrep fd-find jq python3 make g++ unzip tar gzip xz-utils procps rsync && rm -rf /var/lib/apt/lists/* && npm install --global "opencode-ai@${OPENCODE_VERSION}" && groupadd -g 10001 dek && useradd -m -u 10001 -g 10001 -s /bin/bash dek && usermod -p "$(openssl passwd -6 "$(head -c 48 /dev/urandom | base64)")" dek && mkdir -p /run/sshd && chown -R 10001:10001 /home/dek && chmod 0755 /home/dek # buildkit
COPY sshd_config /etc/ssh/sshd_config # buildkit
COPY entrypoint.sh /usr/local/bin/opencode-entrypoint # buildkit
RUN |1 OPENCODE_VERSION=1.19.2 /bin/sh -c chmod 0755 /usr/local/bin/opencode-entrypoint # buildkit
ENV HOME=/home/dek
WORKDIR /home/dek
USER 10001:10001
EXPOSE [2222/tcp 4096/tcp]
ENTRYPOINT ["/usr/bin/tini" "--" "/usr/local/bin/opencode-entrypoint"]
Details
Container
2026-10-16 09:05:05 +00:00
2
OCI / Docker
linux/amd64
791 MiB
Versions (1) View all
0.1.0 2026-10-16