diff options
author | Sylwia Jakubek <sylwia.jakubek@nokia.com> | 2021-08-03 12:05:07 +0200 |
---|---|---|
committer | Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> | 2021-08-03 10:19:36 +0000 |
commit | 7397ac984b69f7605e6ccb0b5ab02a74b73e818b (patch) | |
tree | fa46a1c868c662fdfb451a8ef83d732fea774077 /Dockerfile | |
parent | 21a771d34a90ed86b25722adf006c0c21872547f (diff) |
Improve VES Client helm charts in order to use certificates from AAF or CMPvistanbul
Issue-ID: INT-1954
Signed-off-by: Sylwia Jakubek <sylwia.jakubek@nokia.com>
Change-Id: Ia71317e06a4e9f708d6c3be12da0d59357ef6997
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -14,5 +14,7 @@ RUN python -m pip install -r /opt/db/config/requirements.txt ADD certificates /usr/local/share/ca-certificates/ RUN update-ca-certificates CMD python /opt/db/config/mongo_db_schema_creation.py \ + && if [ -d /app/certs ]; then mkdir -p /app/store; cp /app/certs/keystore.p12 /app/store/cert.p12; cp /app/certs/p12.pass /app/store/p12.pass; cp /app/certs/truststore.jks /app/store/trust.jks; cp /app/certs/p12.pass /app/store/truststore.pass; fi \ && if [ -f /app/store/trust.pass ]; then cp /app/store/trust.pass /app/store/truststore.pass; fi \ && java -Dspring.config.location=file:/app/application.properties -cp /app/libs/*:/app/vesclient.jar org.onap.integration.simulators.nfsimulator.vesclient.Main \ + |