summaryrefslogtreecommitdiffstats
path: root/dev-resources/Dockerfile-local
blob: b1b378a6ddd04ecc7be1020bb5bd89918514670a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM nexus3.onap.org:10001/onap/integration-java11:8.0.0

ARG VERSION=${version}
ENV HELM_SUPPORTED_VERSIONS=${HELM_SUPPORTED_VERSIONS}

USER root
RUN adduser -G onap -D validator

RUN apk add --no-cache bash vim curl wget

#Installing Helm
COPY scripts/helm_versions/* /usr/local/bin/

RUN mkdir /charts
RUN chown -R validator:onap /charts

USER validator:onap

COPY target/sdc-helm-validator-${VERSION}.jar ./opt/helmvalidator/helmvalidator.jar

ENTRYPOINT ["java","-XX:+UseParallelGC","-XX:MinRAMPercentage=50","-XX:MaxRAMPercentage=50","-XX:MinHeapFreeRatio=10","-XX:MaxHeapFreeRatio=20","-jar","./opt/helmvalidator/helmvalidator.jar"]