Coder Social home page Coder Social logo

idea-shared-index-dockerfile's Introduction

idea-shared-index-dockerfile

Idea Docker images build Goland Docker images build

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=<full commit hash> -e PROJECT_ID=<project name>

For example: //todo

How to build

INTELLIJ_VERSION=<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
2021.3.1 2021.3.1
2021.3 2021.2.3
2021.2.3 2021.2.2
2021.2.2 2021.1.1
2021.2.1

idea-shared-index-dockerfile's People

Contributors

damintsew avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

qsli

idea-shared-index-dockerfile's Issues

thanks!

Feel free to close this issue. I wanted to thank you for creating this project and open-sourcing it, I was running into issues with IDEA working in a container, and it turns out the permissions and config files were the problem.

I needed extensibility for the IDE name (e.g IDEA, GoLand, etc) and version so I forked the Dockerfile for now in my project, but plan to submit a few PRs to you so I can use your upstream image instead (bencdr/jetbrains-indexer#1). I have a few other issues i want to work on too.

I also extended the image to format the indexes (cdn-layout-tool) and generate an intellij.yaml file. Let me know if those features are useful to you :)

Add license

I am also working on some automations for shared indexes and would like to use this Dockerfile. If it is free to use, could you add a license?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.