Jakub Dudycz | fc4abff | 2018-11-09 11:30:27 +0100 | [diff] [blame] | 1 | FROM docker.io/openjdk:11-jre-slim |
fkrzywka | f811f4a | 2018-06-01 14:49:42 +0200 | [diff] [blame] | 2 | |
Filip Krzywka | 5ddee4d | 2019-03-29 14:52:25 +0100 | [diff] [blame] | 3 | LABEL copyright="Copyright (C) 2018-2019 NOKIA" |
fkrzywka | f811f4a | 2018-06-01 14:49:42 +0200 | [diff] [blame] | 4 | LABEL license.name="The Apache Software License, Version 2.0" |
| 5 | LABEL license.url="http://www.apache.org/licenses/LICENSE-2.0" |
fkrzywka | 4b8cfb3 | 2018-06-01 12:45:22 +0200 | [diff] [blame] | 6 | LABEL maintainer="Nokia Wroclaw ONAP Team" |
| 7 | |
Jakub Dudycz | 67702df | 2018-08-08 09:17:14 +0200 | [diff] [blame] | 8 | RUN apt-get update \ |
Piotr Jaszczyk | 069dcc1 | 2018-09-20 12:04:03 +0200 | [diff] [blame] | 9 | && apt-get install -y --no-install-recommends curl netcat \ |
Jakub Dudycz | 67702df | 2018-08-08 09:17:14 +0200 | [diff] [blame] | 10 | && apt-get clean |
| 11 | |
fkrzywka | 4b8cfb3 | 2018-06-01 12:45:22 +0200 | [diff] [blame] | 12 | WORKDIR /opt/ves-hv-collector |
Piotr Jaszczyk | 8a2552a | 2018-08-03 13:05:15 +0200 | [diff] [blame] | 13 | |
Piotr Jaszczyk | 4128aa2 | 2018-12-18 15:58:56 +0100 | [diff] [blame] | 14 | ENTRYPOINT ["./entry.sh"] |
Piotr Jaszczyk | d418dd4 | 2019-03-21 09:10:11 +0100 | [diff] [blame] | 15 | CMD ["--configuration-file /etc/ves-hv/configuration/base.json"] |
Piotr Jaszczyk | 8a2552a | 2018-08-03 13:05:15 +0200 | [diff] [blame] | 16 | |
fkrzywka | 4b8cfb3 | 2018-06-01 12:45:22 +0200 | [diff] [blame] | 17 | COPY target/libs/external/* ./ |
| 18 | COPY target/libs/internal/* ./ |
Piotr Jaszczyk | d418dd4 | 2019-03-21 09:10:11 +0100 | [diff] [blame] | 19 | COPY src/main/docker/*.sh ./ |
| 20 | COPY src/main/docker/base.json /etc/ves-hv/configuration/base.json |
| 21 | |
Filip Krzywka | 5ddee4d | 2019-03-29 14:52:25 +0100 | [diff] [blame] | 22 | COPY target/hv-collector-main-*.jar ./ |