Add dockerfile and start.sh file

This commit is contained in:
Yvan Janssens 2024-04-02 16:24:33 +02:00
parent 14ed2849c6
commit 0332907f0f
2 changed files with 17 additions and 0 deletions

12
Dockerfile Normal file
View File

@ -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"]

5
start.sh Executable file
View File

@ -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