diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..eddf5b4c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM ubuntu:22.04 + + +ENV TZ="Europe/Brussels" +ENV DEBIAN_FRONTEND="noninteractive" + +RUN apt update -y && apt install -y openjdk-8-jdk bash + +COPY dist/eclipse /eclipse +COPY start.sh /start.sh + +CMD ["/start.sh"] diff --git a/start.sh b/start.sh new file mode 100755 index 00000000..d6dfc2ee --- /dev/null +++ b/start.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +cd /eclipse + +/usr/lib/jvm/java-8-openjdk-amd64/bin/java -classpath ./plugins/org.eclipse.help.base_3.0.1/helpbase.jar org.eclipse.help.standalone.Infocenter -eclipsehome /eclipse -data workspace -plugincustomization ./plugins/i5OS.ic.rzari_5.4.0.1/plugin_customization.ini -port 4411 -command start -noexec