From 0332907f0f29bc572c1178fd703c4c6452ccb115 Mon Sep 17 00:00:00 2001 From: Yvan Janssens Date: Tue, 2 Apr 2024 16:24:33 +0200 Subject: [PATCH] Add dockerfile and start.sh file --- Dockerfile | 12 ++++++++++++ start.sh | 5 +++++ 2 files changed, 17 insertions(+) create mode 100644 Dockerfile create mode 100755 start.sh 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