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

Use Debian instead of Alpine for multi-arch builds #386

Merged
merged 1 commit into from
Jun 17, 2021

Commits on Jun 17, 2021

  1. Use Debian instead of Alpine in container image

    This commit changes the base image for the build and controller
    container images to Debian slim.
    
    Reason for this is that it has proven to be hard to produce working
    executables for AMD64, ARM64 and ARMv7 at all times using Alpine,
    due to them being dynamically linked and compiled using CGO, and
    Alpine having constraints like musl that create an extra barrier,
    especially in combination with our exotic set of dependency
    constraints.
    
    There are a number of trade-offs we have to live with by doing this,
    not limited to:
    
    * An increased build time, the full release pipeline used to take 25-35
      minutes, based on the images we have build for testing purposes this
      seems to have become 35-40 minutes.
    * An increased image size of roughly two times the (compressed) size of
      the Alpine based image.
    
    Signed-off-by: Hidde Beydals <hello@hidde.co>
    hiddeco committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    7e6b88e View commit details
    Browse the repository at this point in the history