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.