https://github.com/bmarsaud/jetbrains-backend-docker
:cd: A packaging of JetBrains IDEs in docker containers
https://github.com/bmarsaud/jetbrains-backend-docker
docker docker-image intellij intellij-idea jetbrains
Last synced: 2 months ago
JSON representation
:cd: A packaging of JetBrains IDEs in docker containers
- Host: GitHub
- URL: https://github.com/bmarsaud/jetbrains-backend-docker
- Owner: bmarsaud
- License: mit
- Created: 2022-06-20T20:48:39.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-20T21:03:04.000Z (about 4 years ago)
- Last Synced: 2025-02-13T11:52:36.983Z (over 1 year ago)
- Topics: docker, docker-image, intellij, intellij-idea, jetbrains
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jetbrains-backend-docker
:cd: jetbrains-backend-docker is a packaging of JetBrains IDE backends into docker containers. IDE backends from this image can be accessed via JetBrains Gateway using SSH.
## Usage
```bash
docker run -p 4222:22 bmarsaud/jetbrains-backend:ideaiu-2022.1.2
```
Choose the according image tag for the designated IDE and version of your choice. The list of availabe tags can be found on the [Docker Hub page](https://hub.docker.com/r/bmarsaud/jetbrains-backend/tags). Currently only IntelliJ Ultimate (`ideaiu`), WebStorm (`webstorm`), PhpStorm (`phpstorm`) and DataGrip (`datagrip`) are supported by this image.
Bind the SSH `22` port to an availabe port on your host.
Launch JetBrains Gateway and configure an SSH connection to your container address using a password authentication with `dev` as username and `dev` as password.
You can now choose the already installed IDE and a project folder.
### Projects
This image is not meant to contain your projects source code, I would recommand using a sidecar container containing your source code with a shared volume between the two containers.
TODO: add exemple with docker-compose
### Dependencies
This image only contains dependencies needed for the IDE to launch (+ git), you will probably need other tools like node, npm or another java version. I would recommand building your own image based on this one using the `FROM bmarsaud/jetbrains-backend:-` instruction. Don't forget to start the SSH server in the entrypoint of your image using `service start ssh`.
## Build
To build the image, use the `build.sh` script with the following parameters:
|Parameter|Default value|Description|
|---|---|---|
|`-i`, `--ide`|*Required*|The IDE name (`intellij`, `idea`, `ultimate`, `webstorm`, `phpstorm`, `datagrip`)|
|`-v`, `--version`|*Required*|The IDE version (`2022.1.2`, `2021.1.3`...)|
|`-u`, `user`|`dev`|The SSH user name|
|`-p`, `--password`|`dev`|The SSH user password|
|`-i`, `--image`|`bmarsaud/jetbrains-backend`|The image name|
|`-r`, `--registry`|`registry.hub.docker.com`|The image registry onto the image will be pushed|