Gemini Sandbox Java Docker Image
dariosena查看中文加速指南
这是一个基于Debian的Java开发沙箱,集成SDKMAN管理JDK与构建工具,预装Gemini扩展以支持代码审查、工作流编排等开发增强功能,提供安全隔离的开发环境。
下载次数: 0状态:社区镜像维护者:dariosena仓库类型:镜像最近更新:
Java Sandbox
Opinionated unofficial Gemini CLI sandbox
A specialized environment for Java development, built on Debian (Stable Slim) and inheriting from the base sandbox. It uses SDKMAN! for managing JDKs and build tools.
Included Tools
- Java Development: Java (OpenJDK via SDKMAN!), Maven, Gradle
- Base Utilities: Includes all core and CLI utilities from the
basesandbox (e.g.,ripgrep,fd,jq,bat). - Package Managers:
apt(Debian Native), SDKMAN!
Pre-installed Extensions
This sandbox comes with several pre-installed Gemini extensions to enhance your development workflow:
context7: Enhanced context management using Upstash.superpowers: Advanced utility tools for agent efficiency.conductor: Workflow orchestration and track management.open-aware: Code awareness and symbol understanding across repositories.code-review: Automated code quality and PR analysis.gemini-cli-security: Vulnerability identification and secure coding assistant.co-researcher: Deep research and synthesis capabilities.
You can explore these capabilities using gemini extensions list.
Best Practices
- Workspace Context: Use the
WORKSPACEenvironment variable to define your project root for multi-project tasks. - Tool Installation: Prefer
sudo apt-get installfor temporary tools to keep the environment clean and reproducible. - Resilient Scripts: Leverage the
retryutility (pre-installed inscripts/) for resilient network operations in your automation scripts. - Discovery: Explore extension capabilities and documentation with
gemini extensions list. - Network Security: Secure your session by running
sudo harden-network onto restrict outbound traffic to standard web ports (requires Docker--cap-add=NET_ADMIN).
Security & Isolation
- Strict Boundaries: All tools and extensions are pre-installed in the image for total isolation. The agent cannot access host paths outside the shared directory.
- Shared Workspace: Respects the
WORKSPACEenvironment variable for shared project roots. Use this as your primary context. - Volume Guidance: If additional data is required, the agent will guide you on using
SANDBOX_MOUNTSordocker run -vto share host directories safely.
Usage
Build the image:
bashdocker build -t backendsouls/gemini-sandbox-java .
Run the container:
bashdocker run -it backendsouls/gemini-sandbox-java
Available Tags
latest: Latest stable build.backendsouls: Team-verified alias.python3.13-node24: Runtime-versioned tag.
Usage Notes
- SDKMAN!: To use Java, Maven, or Gradle, you may need to initialize SDKMAN in your shell:
source $SDKMAN_DIR/bin/sdkman-init.sh.
Image Metadata
- Base OS: Debian (Stable Slim)
- Architecture: amd64, arm64
- Repository: https://github.com/backendsouls/gemini-config
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
轩辕镜像加速拉取命令点我查看更多 gemini-sandbox-java 镜像标签
docker pull docker.xuanyuan.run/dariosena/gemini-sandbox-java:<标签>
DockerHub 原生拉取命令
docker pull dariosena/gemini-sandbox-java:<标签>
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务