Uploaded image for project: 'OpenShift Windows Containers'
  1. OpenShift Windows Containers
  2. WINC-1352

Build CNI plug-ins with CGO_ENABLED=1

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • 3
    • False
    • None
    • False
    • WINC - Sprint 262

      Description

      Our containernetworking-plugins submodule is compiled and shipped with our operator. But it is compiled by explicitly setting CGO_ENABLED=0 which is not FIPS compliant. We need to remediate this.

      Since we are cross-compiling (building Windows binary on a Linux system), we will likely need to use a Windows-compatible C compiler “CC=gcc-mingw-w64” in go build command. I found

      • gcc-mingw-w64 - GNU C compiler for MinGW-w64

      Acceptance Criteria

      • All submodules are built in a FIPS compliant manner
      • It is possible to build all submodules with both Dockerfile.ci and the Konflux Dockerfile

              rh-ee-mankulka Mansi Kulkarni
              mohashai Mohammad Shaikh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: