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

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

Status

Assignee

Stefan Iliev

Reporter

Stefan Iliev

Labels

None

Feature Team

Operational Experience

Story Points

None

Fix versions

Ported to...

None

Priority

Low
Configure