We're updating the issue view to help you get more done. 

Dockerfile improvements and image size reduction

Description

As from: https://github.com/corda/corda/issues/4954
with pull request: https://github.com/corda/corda/pull/4965

Great to see official docker images for corda.

A few improvements if I might be so bold:

1) backward compatible with 3.3 : add – to initial-registration in generate-config.sh
2) Remove hardcoding : Use

1 ${CONFIG_FOLDER}/node.conf in run-corda.sh

3) backward compatible with 3.3 : remove = from --config-file= in run-corda.sh
4) Docker image size : delete yum cache
5) Docker image size : minimize number of layer using Docker best practises
6) Maintainability : Default JVM_ARGS and CORDA_ARGS in Dockerfile rather than run-corda.sh

CVSS Vector

None

Status

Assignee

Stefan Iliev

Reporter

Stefan Iliev

Labels

None

CVSS Score

None

Feature Team

Operational Experience

Target Version/s

None

Ported to...

None

Fix versions

Priority

Low