blob: cfd4a7bbaf292f09165f182e2282c7cbdebc8a09 [file] [log] [blame]
Jakub Dudyczfc4abff2018-11-09 11:30:27 +01001FROM docker.io/openjdk:11-jre-slim
fkrzywkaf811f4a2018-06-01 14:49:42 +02002
Filip Krzywka5ddee4d2019-03-29 14:52:25 +01003LABEL copyright="Copyright (C) 2018-2019 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
Piotr Jaszczyk4128aa22018-12-18 15:58:56 +010014ENTRYPOINT ["./entry.sh"]
Piotr Jaszczykd418dd42019-03-21 09:10:11 +010015CMD ["--configuration-file /etc/ves-hv/configuration/base.json"]
Piotr Jaszczyk8a2552a2018-08-03 13:05:15 +020016
fkrzywka4b8cfb32018-06-01 12:45:22 +020017COPY target/libs/external/* ./
18COPY target/libs/internal/* ./
Piotr Jaszczykd418dd42019-03-21 09:10:11 +010019COPY src/main/docker/*.sh ./
20COPY src/main/docker/base.json /etc/ves-hv/configuration/base.json
21
Filip Krzywka5ddee4d2019-03-29 14:52:25 +010022COPY target/hv-collector-main-*.jar ./