MinioSPK icon indicating copy to clipboard operation
MinioSPK copied to clipboard

chore: update to go1.21

Open johnstcn opened this issue 1 year ago • 0 comments

This PR makes the following changes:

  • Updates builder image to golang:1.21as the most recent version of minio (tested with RELEASE.2024-02-17T01-15-57Z) requires it:

    github.com/minio/minio/cmd imports
        github.com/minio/kes-go imports
        slices: package slices is not in GOROOT (/usr/local/go/src/slices)
    note: imported by a module that requires go 1.21
    
  • Disables VCS stamping when building the binary by setting -buildvcs=false. From the references to https://github.com/golang/go/issues/49004, this seems to be the most common workaround.

johnstcn avatar Feb 24 '24 20:02 johnstcn