Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damintsew/idea-shared-index-dockerfile
Dockerfile to generate Intellij Idea project shared index
https://github.com/damintsew/idea-shared-index-dockerfile
docker goland intellij-idea pproject-shared-index
Last synced: 4 months ago
JSON representation
Dockerfile to generate Intellij Idea project shared index
- Host: GitHub
- URL: https://github.com/damintsew/idea-shared-index-dockerfile
- Owner: damintsew
- License: mit
- Created: 2021-10-19T07:29:03.000Z (over 3 years ago)
- Default Branch: develop
- Last Pushed: 2022-06-02T09:57:13.000Z (over 2 years ago)
- Last Synced: 2024-09-27T05:21:29.981Z (4 months ago)
- Topics: docker, goland, intellij-idea, pproject-shared-index
- Language: Shell
- Homepage:
- Size: 32.2 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# idea-shared-index-dockerfile
[![Idea Docker images build](https://github.com/damintsew/idea-shared-index-dockerfile/actions/workflows/idea_release_build_and_push.yml/badge.svg?branch=master)](https://github.com/damintsew/idea-shared-index-dockerfile/actions/workflows/idea_release_build_and_push.yml)
[![Goland Docker images build](https://github.com/damintsew/idea-shared-index-dockerfile/actions/workflows/go_master_build_and_push.yml/badge.svg?branch=master)](https://github.com/damintsew/idea-shared-index-dockerfile/actions/workflows/go_master_build_and_push.yml)The repository contains Dockerfile for building Intellij Idea images that will be used for generating **project** shared indexes
by `dump-shared-index project` command.# Run parameters
To build shared indexes you have to provide properties `PROJECT_ID`, `COMMIT_ID` map source directory and directory with the resuls.
Where:
- `COMMIT_ID` will be used by Idea to find an appropriate index.
- `PROJECT_ID` should be the unique Id of the project the same that in `intellij.yaml`.
- Map source folder. Internally there is `IDEA_PROJECT_DIR` which is hardcoded to `/var/project` and should be mapped by `docker volumes`
- Map folder with the results of generating indexes. Internally is hardcoded to `/shared-index/output` and should be mapped by `docker volumes`# How to use
1. Download image `docker pull damintsew/idea-indexer-2021.3`.
2. Run image `docker run -v YOUR_PROJECT_DIR:/var/project -v GENERATED_OUTPUD_DIR:/shared-index/output
-e COMMIT_ID= -e PROJECT_ID=`For example: //todo
# How to build
```
INTELLIJ_VERSION=
docker build . --build-arg INTELLIJ_VERSION=${INTELLIJ_VERSION} -t damintsew/idea-indexer-${INTELLIJ_VERSION}
```
Currently, there are several docker images for different Intellij Idea versions:| Intellij Idea Version. Image tag: damintsew/idea-indexer-${version} | Goland Idea version. Image tag: damintsew/goland-indexer-${version} |
|:---------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|
| | [2021.3.2](https://hub.docker.com/repository/docker/damintsew/goland-indexer-2021.3.2]) |
| [2021.3.1](https://hub.docker.com/repository/docker/damintsew/idea-indexer-2021.3.1]) | [2021.3.1](https://hub.docker.com/repository/docker/damintsew/goland-indexer-2021.3.1]) |
| [2021.3](https://hub.docker.com/repository/docker/damintsew/idea-indexer-2021.3]) | [2021.2.3](https://hub.docker.com/repository/docker/damintsew/goland-indexer-2021.2.3]) |
| [2021.2.3](https://hub.docker.com/repository/docker/damintsew/idea-indexer-2021.2.3]) | [2021.2.2](https://hub.docker.com/repository/docker/damintsew/goland-indexer-2021.2.2]) |
| [2021.2.2](https://hub.docker.com/repository/docker/damintsew/idea-indexer-2021.2.2]) | [2021.1.1](https://hub.docker.com/repository/docker/damintsew/goland-indexer-2021.2.1]) |
| [2021.2.1](https://hub.docker.com/repository/docker/damintsew/idea-indexer-2021.2.1]) | |