Uploaded image for project: 'Corda'
  1. CORDA-2929

Dockerfile improvements and image size reduction

    Details

    • Type: Story
    • Status: Open (View workflow)
    • Priority: Low
    • Resolution: Unresolved
    • Affects versions: None
    • Fix versions: Corda 4.1
    • Components: None
    • Labels:
      None
    • Feature Team:
      Operational Experience
    • Sprint:

      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

       ${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

        Attachments

          Activity

            People

            • Assignee:
              stefan.iliev Stefan Iliev
              Reporter:
              stefan.iliev Stefan Iliev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: