Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-6845

Shrink size of docker image

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Proposing a very small change to slightly reduce the size of the Docker image:

      • Adding --no-cache-dir flag to all pip install commands to prevent caching of build artifacts

      When building, I'm seeing an ~20 MB reduction in image size. (1.76 GB -> 1.74 GB)

      PR coming shortly.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jayqi Jay Qi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: