github.com/cs3org/reva/v2@v2.27.7/changelog/1.9.0_2021-06-23/set-cgo-enabled-0-flag.md (about) 1 Bugfix: 'golang:alpine' as base image & CGO_ENABLED just for the CLI 2 3 Some of the dependencies used by revad need CGO to be enabled in order to 4 work. We also need to install the 'mime-types' in alpine to correctly 5 detect them on the storage-providers. 6 7 The CGO_ENABLED=0 flag was added to the docker build flags so that it will 8 produce a static build. This allows usage of the 'scratch' image for 9 reduction of the docker image size (e.g. the reva cli). 10 11 https://github.com/cs3org/reva/issues/1765 12 https://github.com/cs3org/reva/pull/1766 13 https://github.com/cs3org/reva/pull/1797