summaryrefslogtreecommitdiffstats
path: root/Dockerfile-local
diff options
context:
space:
mode:
authorRemigiusz Janeczek <remigiusz.janeczek@nokia.com>2021-03-16 16:00:26 +0100
committerRemigiusz Janeczek <remigiusz.janeczek@nokia.com>2021-03-17 12:07:37 +0100
commite0437a4237c99a16955d5ec56ff5fe9996c76b57 (patch)
treee069f513aae60fcc4636dd80978ce477c9ed47a7 /Dockerfile-local
parent919ae37310243f676eafee0ebf01c9d64ee5b925 (diff)
Add helm validator sources
Issue-ID: SDC-3185 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I32dea3b4294a90c4dfc75864fb4200f044e7a0b6
Diffstat (limited to 'Dockerfile-local')
-rw-r--r--Dockerfile-local21
1 files changed, 21 insertions, 0 deletions
diff --git a/Dockerfile-local b/Dockerfile-local
new file mode 100644
index 0000000..b1b378a
--- /dev/null
+++ b/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"]