summaryrefslogtreecommitdiffstats
path: root/sources/hv-collector-kafka-consumer/Dockerfile
blob: 6ec0ba77e1e43ca077d9191a4b26bf469559e9bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM nexus3.onap.org:10001/onap/integration-java11:8.0.0

LABEL copyright="Copyright (C) 2019 NOKIA" \
      license.name="The Apache Software License, Version 2.0" \
      license.url="http://www.apache.org/licenses/LICENSE-2.0" \
      maintainer="Nokia Wroclaw ONAP Team"

USER root
RUN apk add --no-cache curl

WORKDIR /opt/hv-ves-kafka-consumer

ENTRYPOINT ["java", "-cp", "*:", "org.onap.dcae.collectors.veshv.kafkaconsumer.MainKt"]

COPY target/libs/external/* ./
COPY target/libs/internal/* ./
COPY target/hv-collector-kafka-consumer-*.jar ./