Dockerfile 568 Bytes
Newer Older
ham's avatar
ham committed
1
#
Jean Meurice's avatar
Jean Meurice committed
2
# (c) https://github.com/MontiCore/monticore
ham's avatar
ham committed
3
#
Jean Meurice's avatar
Jean Meurice committed
4
5
# The license generally applicable for this project
# can be found under https://github.com/MontiCore/monticore.
ham's avatar
ham committed
6
7
8
9
10
11
#

FROM openjdk:8

WORKDIR /app

Jean Meurice's avatar
Jean Meurice committed
12
13
COPY HardwareEmulator.so ./
COPY rmi-model-server.jar ./rmi-model-server.jar
hengwen's avatar
hengwen committed
14
15
COPY ./autopilots/ ./autopilots/
COPY ./autopilots/ ./autopilots/AutopilotAdapter
ham's avatar
ham committed
16

hengwen's avatar
hengwen committed
17
18
CMD exec java -cp rmi-model-server.jar -Djava.rmi.server.codebase=file:rmi-model-server.jar -Djava.rmi.server.hostname=localhost rwth.rmi.model.server.RMIServer 10101 autopilots --no-zookeeper \
 no_time os=linux