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