blob: 746deb516a477415b161e96401a945e5f53440f3 [file] [log] [blame]
Piotr Jaszczyk8a2552a2018-08-03 13:05:15 +02001FROM docker.io/openjdk:8-jre-slim
fkrzywkaf811f4a2018-06-01 14:49:42 +02002
fkrzywkae74c9e12018-06-06 10:43:53 +02003LABEL copyright="Copyright (C) 2018 NOKIA"
fkrzywkaf811f4a2018-06-01 14:49:42 +02004LABEL license.name="The Apache Software License, Version 2.0"
5LABEL license.url="http://www.apache.org/licenses/LICENSE-2.0"
fkrzywka4b8cfb32018-06-01 12:45:22 +02006LABEL maintainer="Nokia Wroclaw ONAP Team"
7
Jakub Dudycz67702df2018-08-08 09:17:14 +02008RUN apt-get update \
Piotr Jaszczyk069dcc12018-09-20 12:04:03 +02009 && apt-get install -y --no-install-recommends curl netcat \
Jakub Dudycz67702df2018-08-08 09:17:14 +020010 && apt-get clean
11
fkrzywka4b8cfb32018-06-01 12:45:22 +020012WORKDIR /opt/ves-hv-collector
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.main.MainKt
17
fkrzywka4b8cfb32018-06-01 12:45:22 +020018COPY target/libs/external/* ./
19COPY target/libs/internal/* ./
Piotr Jaszczyk07bbbf72018-06-07 11:52:16 +020020COPY target/hv-collector-main-*.jar ./