Docker container with Java development tools and opencode CLI.
- OpenJDK 25
- Apache Maven 3.9.16
- Gradle 9.6.1
- opencode CLI
- curl, ca-certificates, unzip, screen
docker run -it ghcr.io/<username>/opencode-dockerdocker build -t opencode-docker .Override versions with build args:
docker build --build-arg MAVEN_VERSION=3.9.16 --build-arg GRADLE_VERSION=9.6.1 -t opencode-docker .docker buildx build --platform linux/amd64,linux/arm64 -t opencode-docker --push .