# # (c) https://github.com/MontiCore/monticore # # The license generally applicable for this project # can be found under https://github.com/MontiCore/monticore. # FROM openjdk:8 WORKDIR /app RUN apt-get update && \ apt-get install -y --no-install-recommends libxext6 libxrender1 libxtst6 && \ rm -rf /var/lib/apt/lists/* && \ echo "export LD_LIBRARY_PATH=/usr/local/openjdk-8/jre/lib/amd64" > ~/.bashrc COPY rmi-model-server.jar ./rmi-model-server.jar COPY ./autopilots/ ./autopilots/ CMD exec bash -c "source ~/.bashrc && java -jar rmi-model-server.jar -Djava.rmi.server.hostname=localhost port=10101 autopilots_folder=autopilots no-zookeeper \ no_time os=windows"