@MattFox
I have used the file below and now I get the following message:
++ HOME environment variable is /opt/mango
++ mango_paths_home is /opt/mango
+++++ Mango configuration found on
++ mango_script_dir is /opt/mango/bin
++ mango_paths_data is /opt/mango
Mango installation/home directory is /opt/mango
Mango data path is /opt/mango
Starting Mango
Mango started (PID 16)
The container returns status "exited"
FROM openjdk:17-ea-17-jdk
COPY free-m2m2-core-5.0.3.zip /tmp
RUN mkdir -p /opt/mango
&& microdnf install -y unzip openssl
&& unzip /tmp/free-m2m2-core-5.0.3.zip -d /opt/mango
&& cd /opt/mango
ENV HOME /opt/mango
ENV MA_HOME /opt/mango
ENV MA_CP $MA_HOME/overrides/classes:$MA_HOME/classes:$MA_HOME/overrides/properties:$MA_HOME/overrides/lib/:$MA_HOME/lib/
EXPOSE 8443
WORKDIR /opt/mango
ENTRYPOINT exec bin/start-mango.sh $MA_CP -Dma.home=$MA_HOME -Djava.library.path=$MA_HOME/overrides/lib:$MA_HOME/lib:/usr/lib/jni/:$PATH com.serotonin.m2m2.Main