Uploaded image for project: 'Evergreen'
  1. Evergreen
  2. EVG-15478

Experiment with compiling with cgo disabled

    XMLWordPrintableJSON

Details

    Description

      Disabling cgo gives a few benefits:

      • It avoids an oddity where archlinux cannot compile the Evergreen dist tarball.
      • It makes the Evergreen build reproducible (if -trimpath is also used during compilation)
      • The evergreen agent will be able to run in non-glibc containers. Currently, can only run in containers that use glibc, so popular base images like alpine (which uses musl by default instead of glibc) cannot be used to run containerized tasks.

      Attachments

        Activity

          People

            kimberly.tao@mongodb.com Kim Tao
            kimberly.tao@mongodb.com Kim Tao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: