Public Repository

Last pushed: 2 years ago
Short Description
Eclipse container [Luna, Java 8, Tomcat 8, SVN enabled]
Full Description

docker run -e "DISPLAY=localhost:0" --user=eclipse --entrypoint="/usr/local/eclipse/eclipse" -v /tmp/workspace:/home/eclipse/workspace eclipse

You may replace DISPLAY=localhost:0 by the IP of your Xwindows server and replace /tmp/workspace by the location of the workspace you want to persist on your host.

Docker Pull Command
Owner
aruffin

Comments (1)
aruffin
2 years ago

Dockerfile used to build this image :

FROM ubuntu:latest

MAINTAINER aruffin

ENV DOWNLOAD_URL http://mirror.ibcp.fr/pub/eclipse/technology/epp/downloads/release/luna/SR2/eclipse-jee-luna-SR2-linux-gtk-x86_64.tar.gz
ENV INSTALLATION_DIR /usr/local/

RUN apt-get update \
&& apt-get install -y software-properties-common curl \
\
&& apt-add-repository -y ppa:webupd8team/java \
&& add-apt-repository -y ppa:dominik-stadler/subversion-1.8 \
&& apt-get update \
&& echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections \
&& echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections \
&& apt-get install -y oracle-java8-set-default \
&& apt-get install -y libswt-gtk-3-jni libswt-gtk-3-java libwebkitgtk-1.0-0 \
&& apt-get install -y libsvn-java \
\
&& curl "$DOWNLOAD_URL" | tar vxz -C $INSTALLATION_DIR \
&& adduser --disabled-password --quiet --gecos '' eclipse \
&& adduser --disabled-password --quiet --gecos '' tomcat \
&& chown -R eclipse:eclipse $INSTALLATION_DIR/eclipse \
&& chmod -R 775 $INSTALLATION_DIR/eclipse \
\
&& curl http://apache.websitebeheerjd.nl/tomcat/tomcat-8/v8.0.22/bin/apache-tomcat-8.0.22.tar.gz | tar vxz -C $INSTALLATION_DIR \
&& chown -R eclipse:eclipse $INSTALLATION_DIR

RUN apt-get --purge autoremove -y software-properties-common curl curl \
&& apt-get clean

USER eclipse
RUN echo "-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni" >> $INSTALLATION_DIR/eclipse/eclipse.ini \
&& $INSTALLATION_DIR/eclipse -application org.eclipse.equinox.p2.director -noSplash -repository http://subclipse.tigris.org/update_1.10.x -installIUs org.tigris.subversion.subclipse.feature.group,org.tigris.subversion.clientadapter.feature.feature.group,org.tigris.subversion.clientadapter.javahl.feature.feature.group,org.tigris.subversion.subclipse.graph.feature.feature.group,org.tmatesoft.svnkit.feature.group,com.collabnet.subversion.merge.feature.feature.group,net.java.dev.jna.feature.group,org.tigris.subversion.subclipse.mylyn.feature.group

USER eclipse
ENTRYPOINT $INSTALLATION_DIR/eclipse/eclipse