CORDA-4954 : Improvements to docker image : compatible with v3.3; image size; truststore (#4965)

* CORDA-4954

* test-docker

* test fix
This commit is contained in:
Richard Crook
2019-04-25 11:18:25 +01:00
committed by Joel Dudley
parent 627096b217
commit 630194c407
5 changed files with 151 additions and 101 deletions

View File

@ -49,11 +49,11 @@ function generateGenericCZConfig(){
java -jar config-exporter.jar "GENERIC-CZ" "/opt/corda/starting-node.conf" "${CONFIG_FOLDER}/node.conf"
java -Djava.security.egd=file:/dev/./urandom -Dcapsule.jvm.args="${JVM_ARGS}" -jar /opt/corda/bin/corda.jar \
initial-registration \
--base-directory=/opt/corda \
--config-file=/etc/corda/node.conf \
--network-root-truststore-password=${NETWORK_TRUST_PASSWORD} \
--network-root-truststore=${CERTIFICATES_FOLDER}/${TRUST_STORE_NAME} &&\
--initial-registration \
--base-directory /opt/corda \
--config-file ${CONFIG_FOLDER}/node.conf \
--network-root-truststore-password ${NETWORK_TRUST_PASSWORD} \
--network-root-truststore ${CERTIFICATES_FOLDER}/${TRUST_STORE_NAME} &&\
echo "Succesfully registered with ${DOORMAN_URL}, starting corda" && \
run-corda
fi