blob: 8049abcad490e78d3ff856c30955fc38580ea58c [file] [log] [blame]
Jakub Dudyczfc4abff2018-11-09 11:30:27 +01001FROM docker.io/openjdk:11-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 +020013
Jakub Dudyczfc4abff2018-11-09 11:30:27 +010014ENTRYPOINT ["java", "-cp", "*:", "org.onap.dcae.collectors.veshv.main.MainKt"]
Piotr Jaszczyk8a2552a2018-08-03 13:05:15 +020015
fkrzywka4b8cfb32018-06-01 12:45:22 +020016COPY target/libs/external/* ./
17COPY target/libs/internal/* ./
Piotr Jaszczyk07bbbf72018-06-07 11:52:16 +020018COPY target/hv-collector-main-*.jar ./