JetBrains Client
About 496 wordsAbout 2 min
After completing the following configuration, you can connect to and access the Workspaces environment through JetBrains Gateway (IDEA, GoLand, PhpStorm, PyCharm, RubyMine, WebStorm, Rider, CLion, RustRover).
Preparation
To access the remote development environment using JetBrains clients, you need to do the following:
Download and Install JetBrains Gateway for Mac/Windows
JetBrains Gateway (helps connect to Workspaces environment), Download Link
Install openssh-server
and Required IDE Versions in Dockerfile
- openssh-server: JetBrains Gateway requires the remote development environment to support SSH service, so
openssh-server
needs to be installed - ide: IDE server needs to be installed in the remote development environment (installing it in advance in Dockerfile can save startup time)
For IDE installation, you can use the versions in the .ide/Dockerfile
below, or get the IDE download path yourself using the following method:
- Open JetBrains Products Page
- Find the needed IDE, click download to enter the download details page
- Switch to Linux version, click download, it will download and open a prompt page, find the
direct link
, right-click to copy the link address to get the download URL
# .ide/Dockerfile
FROM node:22
WORKDIR /root
# Install SSH service
RUN apt-get update && apt-get install -y wget unzip openssh-server
# Create /ide_cnb directory for installing IDEs, note that the installation path must be this one for automatic detection of supported IDEs
RUN mkdir -p /ide_cnb
# Choose to install one or more IDEs from below
# Install GoLand
RUN wget https://download.jetbrains.com/go/goland-2024.3.3.tar.gz
RUN tar -zxvf goland-2024.3.3.tar.gz -C /ide_cnb
# Install IntelliJ IDEA
RUN wget https://download.jetbrains.com/idea/ideaIU-2024.3.5.tar.gz
RUN tar -zxvf ideaIU-2024.3.5.tar.gz -C /ide_cnb
# Install PhpStorm
RUN wget https://download.jetbrains.com/webide/PhpStorm-2024.3.3.tar.gz
RUN tar -zxvf PhpStorm-2024.3.3.tar.gz -C /ide_cnb
# Install PyCharm
RUN wget https://download.jetbrains.com/python/pycharm-professional-2024.3.5.tar.gz
RUN tar -zxvf pycharm-professional-2024.3.5.tar.gz -C /ide_cnb
# Install RubyMine
RUN wget https://download.jetbrains.com/ruby/RubyMine-2024.3.3.tar.gz
RUN tar -zxvf RubyMine-2024.3.3.tar.gz -C /ide_cnb
# Install WebStorm
RUN wget https://download.jetbrains.com/webstorm/WebStorm-2024.3.3.tar.gz
RUN tar -zxvf WebStorm-2024.3.3.tar.gz -C /ide_cnb
# Install CLion
RUN wget https://download.jetbrains.com/cpp/CLion-2024.3.3.tar.gz
RUN tar -zxvf CLion-2024.3.3.tar.gz -C /ide_cnb
# Install RustRover
RUN wget https://download.jetbrains.com/rustrover/RustRover-2024.3.5.tar.gz
RUN tar -zxvf RustRover-2024.3.5.tar.gz -C /ide_cnb
# Install Rider
RUN wget https://download.jetbrains.com/rider/JetBrains.Rider-2024.3.5.tar.gz
RUN tar -zxvf JetBrains.Rider-2024.3.5.tar.gz -C /ide_cnb
# Install code-server (VSCode WebIDE support)
RUN curl -fsSL https://code-server.dev/install.sh | sh \
&& 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-8
How to Access
Click the Launch Workspaces
button, after the environment is created successfully, there are the following entry points to access JetBrains IDE:
- Profile dropdown menu in the top right corner -> My Workspaces list page -> In the created development environment, if JetBrains IDE is installed, a
JetBrains
button will be displayed. Click it to openJetBrains Gateway
, then click the link to open the corresponding IDE