Sign inSign up

winm2m/opencode

By winm2m

•Updated 8 months ago

Image
Machine learning & AI
Developer tools
0

614

winm2m/opencode repository overview

⁠OpenCode Docker Image

A ready-to-use Docker image for running OpenCode with all necessary models and dependencies pre-downloaded.

⁠Overview

This Docker image is based on Ubuntu and comes with OpenCode pre-installed and initialized. All required models and files are downloaded during the image build process, allowing you to start using OpenCode immediately without any additional setup or waiting for downloads.

⁠Features

  • Ubuntu-based: Built on Ubuntu 22.04 LTS for stability and compatibility
  • Pre-configured: OpenCode is installed and initialized with all necessary models
  • Ready-to-use: No additional setup required - just run the container
  • Auto-deployment: Automatically built and pushed to Docker Hub on every Dockerfile update
  • Default workspace: Automatically creates and uses /contents directory as the working directory

⁠Quick Start

⁠Pull and Run
# Pull the latest image from Docker Hub
docker pull winm2m/opencode:latest

# Run OpenCode interactively
docker run -it winm2m/opencode:latest

# Run with a mounted volume to persist your work
docker run -it -v $(pwd):/contents winm2m/opencode:latest

# Run with a specific file
docker run -it -v $(pwd):/contents winm2m/opencode:latest sh -c "opencode your-file.py"

Tag summary

Content type

Image

Digest

sha256:27c2ab774…

Size

79.3 MB

Last updated

8 months ago

docker pull winm2m/opencode