blob: 955cc8e6cbc73d4a18eb43dde03acd99dc591bdd [file] [log] [blame]
Piotr Jaszczyk8a2552a2018-08-03 13:05:15 +02001FROM docker.io/openjdk:8-jre-slim
Piotr Jaszczyk94eeb732018-06-12 14:19:10 +02002
3LABEL copyright="Copyright (C) 2018 NOKIA"
4LABEL license.name="The Apache Software License, Version 2.0"
5LABEL license.url="http://www.apache.org/licenses/LICENSE-2.0"
6LABEL maintainer="Nokia Wroclaw ONAP Team"
7
fkrzywkad76905b2018-07-30 12:55:03 +02008RUN apt-get update \
9 && apt-get install -y --no-install-recommends curl \
10 && apt-get clean
11
Piotr Jaszczyk94eeb732018-06-12 14:19:10 +020012WORKDIR /opt/ves-hv-dcae-app-simulator
Piotr Jaszczyk8a2552a2018-08-03 13:05:15 +020013ENTRYPOINT ["./run-java.sh", "run"]
14COPY target/docker-extra/run-java/run-java.sh ./
15
16ENV JAVA_MAIN_CLASS=org.onap.dcae.collectors.veshv.simulators.dcaeapp.MainKt
17
Piotr Jaszczyk94eeb732018-06-12 14:19:10 +020018COPY target/libs/external/* ./
19COPY target/libs/internal/* ./
20COPY target/hv-collector-dcae-app-simulator-*.jar ./