Added Opencode
This commit is contained in:
+4
-1
@@ -20,5 +20,8 @@ RUN curl -fsSL https://bun.sh/install | bash
|
||||
RUN curl -s "https://get.sdkman.io" | bash && \
|
||||
bash -c "source $HOME/.sdkman/bin/sdkman-init.sh && sdk install maven"
|
||||
|
||||
# 5. Install Opencode
|
||||
RUN curl -fsSL https://opencode.ai/install | bash
|
||||
|
||||
# Add tools to path
|
||||
ENV PATH="/home/coder/.bun/bin:${PATH}"
|
||||
ENV PATH="/home/coder/.opencode/bin:/home/coder/.bun/bin:${PATH}"
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
---
|
||||
display_name: Docker Workspaces with GPU & DooD
|
||||
description: Provision Docker-based Coder workspaces with GPU support, Docker-out-of-Docker, Go, and Bun.
|
||||
description: Provision Docker-based Coder workspaces with GPU support, Docker-out-of-Docker, Go, Bun, and Opencode.
|
||||
icon: ../../../site/static/icon/docker.png
|
||||
maintainer_github: coder
|
||||
verified: true
|
||||
tags: [docker, container, gpu, golang, bun, sdkman]
|
||||
tags: [docker, container, gpu, golang, bun, sdkman, opencode]
|
||||
---
|
||||
|
||||
# Feature-Rich Docker Workspaces
|
||||
@@ -43,9 +43,10 @@ This template provisions the following resources and features:
|
||||
- Bun
|
||||
- Golang
|
||||
- SDKMAN! & Maven
|
||||
- Opencode
|
||||
- **Persistent Storage**: Uses a persistent host directory mapped to `/home/coder` to ensure your files survive workspace restarts.
|
||||
- **Rich Telemetry**: Displays CPU, RAM, Disk, Load Average, and GPU utilization directly in the Coder UI.
|
||||
- **IDE Support**: Native integration with code-server (Browser VS Code) and JetBrains IDEs.
|
||||
|
||||
> **Note**
|
||||
> While your `/home/coder` directory is persistent, the container's root filesystem is ephemeral. This template builds a custom Docker image to pre-bake tools (Go, Bun, SDKMAN!, etc.), ensuring your workspace starts instantly while keeping the tools available.
|
||||
> While your `/home/coder` directory is persistent, the container's root filesystem is ephemeral. This template builds a custom Docker image to pre-bake tools (Go, Bun, SDKMAN!, Opencode, etc.), ensuring your workspace starts instantly while keeping the tools available.
|
||||
|
||||
Reference in New Issue
Block a user