github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/cli/scripts/build/plugins-windows (about)

     1  #!/usr/bin/env bash
     2  #
     3  # Build a static binary for the host OS/ARCH
     4  #
     5  
     6  set -eu -o pipefail
     7  
     8  source ./scripts/build/.variables
     9  export CC=x86_64-w64-mingw32-gcc
    10  export CGO_ENABLED=1
    11  export GOOS=windows
    12  export GOARCH=amd64
    13  
    14  source ./scripts/build/plugins