Sign inSign up

zanyxdev/dev-idea-docker

By zanyxdev

•Updated over 9 years ago

Docker image for IntelliJ IDEA Community

Image
0

397

zanyxdev/dev-idea-docker repository overview

⁠Docker image for IntelliJ IDEA Community and Android SDK

Circle CI

The image contains the following software:

⁠Running

NOTE As of Docker 1.10(?) you need to specify full paths for mounts.

By running the following command you'll be able to start the container

docker run -tdi \
           --net="host" \
           --privileged=true \
           -e DISPLAY=${DISPLAY} \
           -v /tmp/.X11-unix:/tmp/.X11-unix \
           -v ${HOME}/.IdeaIC2016.1_docker:/home/developer/.IdeaIC2016.1 \
           zanyxdev/dev-idea-docker

The command will do the following:

  • save the IDE preferences into <your-HOME-dir>/.IdeaIC2016.1_docker

⁠Customizing the container

You can also choose to save the preferences in another directory.

For an example script to launch this, see below:

#!/usr/bin/env bash
PREF_DIR=${HOME}/.IdeaIC2016.1_docker

docker run -tdi \
           --net="host" \
           --privileged=true \
           -e DISPLAY=${DISPLAY} \
           -v /tmp/.X11-unix:/tmp/.X11-unix \
           -v ${PREF_DIR}:/home/developer/.IdeaIC2016.1 \
           zanyxdev/dev-idea-docker

⁠Updating the container

To update the container, simply run:

docker pull zanyxdev/dev-idea-docker

Each of the plugins can be updated individually at any time, and other plugins can be installed as well.

However, to update IntelliJ IDEA itself, the docker image will need to be updated.

⁠License

GNU General Public License

If you want to read the full license text, please see the LICENSE⁠ file in this directory.

IntelliJ IDEA and all the other plugins are or may be trademarks of their respective owners / creators. Please read the individual licenses for them.

Tag summary

Content type

Image

Digest

Size

2.2 GB

Last updated

over 9 years ago

docker pull zanyxdev/dev-idea-docker