Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1820438: Slim down upstream builder #298

Merged

Commits on Apr 24, 2020

  1. Bug 1820438: Slim down upstream builder

    With the static build fix for index images committed
    (operator-framework#173),
    we introduced a side effect of index images including all the
    build layers included in the build image. That bloated the index images
    using the default from image by over 1gb in size.
    
    To resolve this, this commit introduces two changes. First, it adds a
    multistage build to the upstream builder to just copy the output of the
    build into a scratch image rather than include all the layers from the
    base alpine image. Second, it adds a new opm dockerfile with the same
    format except that only the binaries needed to host index images are
    included.
    
    After this commit is merged, a release should be cut and the dockerfile
    generator needs to be updated to point to a new opm builder as the
    default from index
    kevinrizza committed Apr 24, 2020
    Configuration menu
    Copy the full SHA
    e79673d View commit details
    Browse the repository at this point in the history