Skip to content

Conversation

blink-so[bot]
Copy link
Contributor

@blink-so blink-so bot commented Sep 4, 2025

This PR adds a new Coder Docker template for the Gemini CLI in the matifali namespace.

Features

  • Docker-based Template: Lightweight Docker container using codercom/enterprise-node:ubuntu
  • Gemini CLI Integration: Direct installation of Google's Gemini CLI via npm
  • Secure API Key Management: Parameter for GEMINI_API_KEY (note: Coder parameters don't support sensitive attribute)
  • Development Environment: Pre-configured with Node.js, Code Server, and terminal access
  • Persistent Storage: Docker volume for home directory persistence

Template Structure

  • registry/matifali/README.md - Namespace README with proper format (bio, github, avatar, etc.)
  • registry/matifali/templates/gemini-cli/main.tf - Main Terraform configuration
  • registry/matifali/templates/gemini-cli/README.md - Comprehensive template documentation

Parameters

  • GEMINI_API_KEY (required): Google Gemini API key for AI assistance

Validation

Template validated successfully:

  • terraform init - Downloads all required providers and modules
  • terraform validate - Configuration is valid
  • terraform fmt - Code is properly formatted
  • Coder CLI v2.26.0 installed and tested

Usage

Users can deploy this template to get a Docker workspace with:

  • Gemini CLI for AI-powered coding assistance
  • VS Code (Code Server) in the browser
  • Terminal access for direct CLI usage
  • Persistent home directory across restarts

Requested by: @matifali

@matifali matifali self-assigned this Sep 4, 2025
@blink-so blink-so bot changed the title Add Gemini CLI tasks template for matifali namespace Add Gemini CLI Docker template for matifali namespace Sep 4, 2025
@blink-so blink-so bot force-pushed the blink/add-matifali-gemini-cli-tasks-template branch 5 times, most recently from a0b9b6e to de782f6 Compare September 5, 2025 06:06
This PR adds a new Coder Docker template for the Gemini CLI in the matifali namespace. Features: - Docker-based template using codercom/enterprise-node:ubuntu - Direct Gemini CLI installation via npm - GEMINI_API_KEY parameter for secure API key management - Pre-configured with Node.js, Code Server, and terminal access - Persistent Docker volume storage - Proper namespace README with bio, GitHub, avatar - Template validated with terraform init/validate/fmt - Follows Coder registry standards and formatting Co-authored-by: matifali <atif@coder.com>
@blink-so blink-so bot force-pushed the blink/add-matifali-gemini-cli-tasks-template branch from de782f6 to 1b4fb16 Compare September 5, 2025 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant