From 5bead9db964d37647169df71279e57d3dbc20509 Mon Sep 17 00:00:00 2001 From: Piotr Marcinkiewicz Date: Tue, 23 Mar 2021 11:51:20 +0100 Subject: Move local dev files and add Changelog Issue-ID: SDC-3185 Signed-off-by: Piotr Marcinkiewicz Change-Id: Ic5d8b89dc0e69721c47b5fdec459bbd70e48f746 --- dev-resources/Dockerfile-local | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 dev-resources/Dockerfile-local (limited to 'dev-resources/Dockerfile-local') diff --git a/dev-resources/Dockerfile-local b/dev-resources/Dockerfile-local new file mode 100644 index 0000000..b1b378a --- /dev/null +++ b/dev-resources/Dockerfile-local @@ -0,0 +1,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"] -- cgit 1.2.3-korg