Eclipse Photon (version 4.8) dockers ready to go!
Hi! This is a github repo for the automated Docker building of the following images:
- Eclipse (photon) base
- Eclipse for JavaEE
- Eclipse for PHP
- Eclipse for C/C++
- Eclipse for Javascript
- Eclipse for Modeling
These are based on ubuntu 18.04 LTS
- install docker (https://docs.docker.com/engine/installation/)
- clone the repo (
git clone [email protected]:rafdouglas/eclipse_docker.git
) cd eclipse_docker/Eclipse_for_JavaEE
(orcd eclipse_docker/Eclipse_for_PHP
, or other package you need)sh build
sh eclipse_run
If you wan to customize your environment (for example share a folder between the container and your OS) just edit the options in the "eclipse_run" file
Eclipse plugins are kept on $HOME/.eclipse
inside the container, so if you don't want to reinstall them at every instance, you'll need to share it with your host.
All the provided "eclipse_run" files already include this behavior by means of a shared volume:
-v $my_homedir/.eclipse-docker:/home/developer
Feel free to let me know if someone wishes to have additional packages pre-built. You can see the complete line of packages here: https://eclipse.org/downloads/
Hat tip to Fabio Rehm (@fgrehm, https://github.com/fgrehm/docker-eclipse) for his git on version 4.4, and for some tips. I include the following, which is often important:
You might have an issue with the X11 socket permissions since the default user used by the base image has an user and group ids set to 1000
, in that case you can run either create your own base image with the appropriate ids or run
xhost +
on your machine and try again.