Skip to content

Commit f629b0c

Browse files
author
Dokploy Dev
committed
fix: use npm instead of install script for ARM64/aarch64 support
The opencode install script (curl | sh) does not support linux/aarch64. Switched to npm install -g opencode-ai@latest which is cross-platform. Removed old dokploy/Dockerfile (moved to repo root).
1 parent 538cb56 commit f629b0c

2 files changed

Lines changed: 2 additions & 16 deletions

File tree

Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ FROM codercom/code-server:latest
22

33
USER root
44

5-
# Install opencode CLI globally
6-
RUN curl -fsSL https://opencode.ai/install | sh
7-
8-
# Ensure opencode is in PATH for the coder user
9-
ENV PATH="${PATH}:/home/coder/.opencode/bin"
5+
# Install opencode CLI globally via npm (supports all architectures)
6+
RUN npm install -g opencode-ai@latest
107

118
USER coder

dokploy/Dockerfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)