logo
6
2
WeChat Login
feat: init

JetBrains IDE Custom Development Environment Example

This repository is a demo project showing how to customize a cloud-native development environment with JetBrains IDEs.

Repository Structure

. ├── .ide/ │ └── Dockerfile # Dockerfile for custom dev environment ├── .cnb.yml # Cloud-native dev environment config (optional) └── README.md

Core Files

.ide/Dockerfile

Defines the development environment image, supporting the following JetBrains IDEs:

IDEDescription
GoLandGo development
IntelliJ IDEAJava development
PhpStormPHP development
PyCharmPython development
RubyMineRuby development
WebStormFrontend development
CLionC/C++ development
RustRoverRust development
Rider.NET development

Key Configuration: IDEs must be installed to the /ide_cnb directory for automatic detection.

.cnb.yml (Optional)

Defines the startup process for the cloud-native development environment. If you only need to use .ide/Dockerfile to build the environment, this file is not required - the system will use default configuration.

Usage

  1. Fork/Clone this repository
  2. Modify .ide/Dockerfile, uncomment the IDE you need
  3. Start the cloud-native development environment

Example: Installing PyCharm

Uncomment the following lines in .ide/Dockerfile:

RUN wget https://download.jetbrains.com/python/pycharm-2025.2.5.tar.gz RUN tar -zxvf pycharm-2025.2.5.tar.gz -C /ide_cnb

Notes

  • IDE installation path must be /ide_cnb
  • Multiple IDEs can be installed simultaneously
  • code-server (VSCode WebIDE) can be installed alongside JetBrains IDEs