Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-4057

Docker Image is twice as large as necessary

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.2.0, 1.3.0
    • 1.4.0
    • Docker
    • None

    Description

      By calling chown as a secondary RUN command, you effectively double the size of image by creating a Docker layer of the same size as the extracted binary.

      See GitHub discussion: https://github.com/apache/nifi/pull/1372#issuecomment-307592287

      Expectation

      The resultant Docker image should be no larger than the Base image + the size required by extracting the Nifi binaries.

      Attachments

        Issue Links

          Activity

            People

              cricket007 Jordan Moore
              cricket007 Jordan Moore
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: