Dockerfile 569 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
#

Jean Meurice's avatar
Jean Meurice committed
8

ham's avatar
ham committed
9
10
11
12
FROM openjdk:8

WORKDIR /app

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

hengwen's avatar
hengwen committed
18
19
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