XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • Gateway
    • None

    Description

      The current production image is current around ~750MB

      registry.redhat.io/3scale-amp2/apicast-gateway-rhel8   1.24.0-19             d821225d00c7   3 months ago     775MB

      And a big part of it is because we copy the entire cachito cache into the final image, which then creates a fat docker layer due to the COPY command.

      COPY $REMOTE_SOURCES $REMOTE_SOURCES_DIR
      

      If we only copy APIcast source from cachito we can shave off ~350MB from the final image.

      COPY $REMOTE_SOURCES/apicast $REMOTE_SOURCES_DIR/apicast
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhn-support-atra An Tran
              Jakub Urban Jakub Urban
              An Tran An Tran
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: