diff options
author | Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> | 2021-03-23 11:51:20 +0100 |
---|---|---|
committer | Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> | 2021-03-23 12:57:48 +0100 |
commit | 5bead9db964d37647169df71279e57d3dbc20509 (patch) | |
tree | 6d3a084d1d31bf6f8fd18106a7d94fb1f893a6e8 /dev-resources/Dockerfile-local | |
parent | 25763727265dd20b0301db0164c3e5549700cab4 (diff) |
Move local dev files and add Changelog
Issue-ID: SDC-3185
Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>
Change-Id: Ic5d8b89dc0e69721c47b5fdec459bbd70e48f746
Diffstat (limited to 'dev-resources/Dockerfile-local')
-rw-r--r-- | dev-resources/Dockerfile-local | 21 |
1 files changed, 21 insertions, 0 deletions
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"] |