Code Monkey home page Code Monkey logo

eclipse-docker's Introduction

Eclipse '2021-03' IDE Docker Container + OpenJDK Java 11 + Maven 3 + Python 3 + pip 21 + node 16 + npm 7 + Gradle 6 + X11 (Desktop)

  • For any plugin of Eclipse, e.g., BPMN2, etc., you will use Eclipse Marketplace to install once you are inside the Containr's Eclipse -- we are retiring all other specialty versions of Eclipse, e.g., eclipse-uml-docker, etc.

  • NOTE: This docker default is providing latest Eclipse '2021-03' (Latest) instead of Photon, Oxygen and you can change it to build other versions using '.env' file !!!

Components

Run (recommended for easy-start)

Image is pulling from openkbs/eclipse-docker

./run.sh

Build

You can build your own image locally. Note that the default build docker is "latest" version. If you want to build older Eclipse like "photon", "oxygen", you can following instruction in next section

./build.sh

Build (Older Eclipse, e.g. Photon, Oxygen)

Two ways (at least) to build:

Way-1 (Recommended):

If you use command line "'./build.sh'", you can modify "'./.env' (old filename ./.env)" file and then, run "./build.sh" to build image

## -- Eclipse versions: photon, oxygen, etc.: -- ##
ECLIPSE_VERSION=photon
or
ECLIPSE_VERSION=oxygen

Then,

./build.sh

Way-2: (not recommended - to avoid breaking Dockerfile!)

Modify the line in './Dockefile' as below if you use 'docker-compose' or Openshift CI/CD. That is, you are not using command line './build.sh' to build container image.

## -- Eclipse versions: photon, oxygen, etc.: -- ##
ENV ECLIPSE_VERSION=${ECLIPSE_VERSION:-photon}
or
ENV ECLIPSE_VERSION=${ECLIPSE_VERSION:-oxygen}

Then,

docker-compose up -d 

Configurations (Optional - mostly you don't have to do this!)

If you run "./run.sh" instead of "docker-compose up", you don't have to do anything as below.

  • The container uses a default "/workspace" folder.
  • The script "./run.sh" will re-use or create the local folder in your $HOME directory with the path below to map into the docker's internal "/workspace" folder.
$HOME/data_docker/eclipse-docker/workspace

The above configuration will ensure all your projects created in the container's "/workspace" being "persistent" in your local folder, "$HOME/data_docker/eclipse-photon-docker/workspace", for your repetitive restart docker container.

Create Customized Volume Mapping for "docker-compose"

You can create your own customzied host file mapping, e.g.

mkdir -p <my_host_directory>/.eclipse 
mkdir -p <my_host_directory>/eclipse-workspace

Then, run docker-comp

docker-compose up -d

Distributed Storage

This project provides simple host volumes. For using more advanced storage solutions, there are a few distributed cluster storage options available, e.g., Lustre (popular in HPC), GlusterFS, Ceph, etc.

See Also - Other docker-based IDE

er/)

Resources - JBoss

Display X11 Issue

More resource in X11 display of Eclipse on your host machine's OS, please see

Releases information

eclipse-docker's People

Contributors

drsnowbird avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

eclipse-docker's Issues

The configuration area at '/home/developer/.eclipse/org.eclipse.platform_4.7.0_1473617060_linux_gtk_x86_64/configuration' could not be created.

Hi !
I've that error in a graphical window when I run the run.sh script:

The configuration area at '/home/developer/.eclipse/org.eclipse.platform_4.7.0_1473617060_linux_gtk_x86_64/configuration' could not be created. Please choose a writable location using the '-configuration' command line option.

I've modified the baseDataFolder variable in the script but that's all. The new path is still in my home directory. Can it be the problem ?

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.