JetBrains Client
About 539 wordsAbout 2 min
After configuration, Cloud Native Development environments can connect via JetBrains Gateway.
Note
Before using the JetBrains client, configure the development environment in Dockerfile first. See Prerequisites.
Supported IDEs:
- IntelliJ IDEA
- GoLand
- PyCharm
- WebStorm
- PhpStorm
- RubyMine
- CLion
- RustRover
- Rider
Core Requirements
Whether the JetBrains entry is displayed depends on whether the image meets the following conditions:
| Condition | Description |
|---|---|
Install openssh-server | Gateway connects via SSH, must be installed |
Install IDE to /ide_cnb | System automatically detects installed IDEs through this directory |
Prerequisites
To access Cloud Native Development environments via the JetBrains client, complete the following:
1. Install JetBrains Gateway
Download and install JetBrains Gateway on your local machine (supports Mac/Windows).
2. Configure Dockerfile
Get IDE download URL: JetBrains Products → Select IDE → Download → Linux version → Right-click direct link to copy URL
Dockerfile example:
# .ide/Dockerfile
FROM node:22
WORKDIR /root
# Install SSH service for JetBrains Gateway/VSCode/Cursor client connections
RUN apt-get update && apt-get install -y wget unzip openssh-server
# Create /ide_cnb directory for IDE installation (this path is required for auto-detection)
RUN mkdir -p /ide_cnb
# ========== Install IDEs as needed (multiple supported, comment out unwanted ones) ==========
# GoLand
RUN wget https://download.jetbrains.com/go/goland-2025.2.5.tar.gz \
&& tar -zxvf goland-2025.2.5.tar.gz -C /ide_cnb \
&& rm goland-2025.2.5.tar.gz
# IntelliJ IDEA
RUN wget https://download.jetbrains.com/idea/ideaIU-2025.2.5.tar.gz \
&& tar -zxvf ideaIU-2025.2.5.tar.gz -C /ide_cnb \
&& rm ideaIU-2025.2.5.tar.gz
# PhpStorm
RUN wget https://download.jetbrains.com/webide/PhpStorm-2025.2.5.tar.gz \
&& tar -zxvf PhpStorm-2025.2.5.tar.gz -C /ide_cnb \
&& rm PhpStorm-2025.2.5.tar.gz
# PyCharm
RUN wget https://download.jetbrains.com/python/pycharm-2025.2.5.tar.gz \
&& tar -zxvf pycharm-2025.2.5.tar.gz -C /ide_cnb \
&& rm pycharm-2025.2.5.tar.gz
# RubyMine
RUN wget https://download.jetbrains.com/ruby/RubyMine-2025.2.5.tar.gz \
&& tar -zxvf RubyMine-2025.2.5.tar.gz -C /ide_cnb \
&& rm RubyMine-2025.2.5.tar.gz
# WebStorm
RUN wget https://download.jetbrains.com/webstorm/WebStorm-2025.2.5.tar.gz \
&& tar -zxvf WebStorm-2025.2.5.tar.gz -C /ide_cnb \
&& rm WebStorm-2025.2.5.tar.gz
# CLion
RUN wget https://download.jetbrains.com/cpp/CLion-2025.2.5.tar.gz \
&& tar -zxvf CLion-2025.2.5.tar.gz -C /ide_cnb \
&& rm CLion-2025.2.5.tar.gz
# RustRover
RUN wget https://download.jetbrains.com/rustrover/RustRover-2025.2.5.tar.gz \
&& tar -zxvf RustRover-2025.2.5.tar.gz -C /ide_cnb \
&& rm RustRover-2025.2.5.tar.gz
# Rider
RUN wget https://download.jetbrains.com/rider/JetBrains.Rider-2025.3.0.3.tar.gz \
&& tar -zxvf JetBrains.Rider-2025.3.0.3.tar.gz -C /ide_cnb \
&& rm JetBrains.Rider-2025.3.0.3.tar.gz
# ========== Optional: Install VSCode WebIDE ==========
RUN curl -fsSL https://code-server.dev/install.sh | sh \
&& code-server --install-extension cnbcool.cnb-welcome \
&& code-server --install-extension redhat.vscode-yaml \
&& code-server --install-extension orta.vscode-jest \
&& code-server --install-extension dbaeumer.vscode-eslint \
&& code-server --install-extension waderyan.gitblame \
&& code-server --install-extension mhutchie.git-graph \
&& code-server --install-extension donjayamanne.githistory
ENV LANG C.UTF-8Access Development Environment
After the environment is created, click the JetBrains button to open Gateway.
Entry points:
- Launch page: IDE entry selection page appears after clicking "Start Cloud Native Development" and environment creation succeeds
- Environment list: Avatar → My Cloud Native Development
- Branch list: Button on the right side of branches with existing environments opens IDE entry selection page
FAQ
| Symptom | Possible Cause |
|---|---|
| JetBrains button not displayed | IDE not installed to /ide_cnb directory |
| Gateway connection failed | openssh-server not installed in image |
| Cannot open locally | JetBrains Gateway not installed |
Advanced
The above process is sufficient for using JetBrains IDEs with Cloud Native Development environments. To customize the startup process, see Custom Environment Creation Process.