diff --git a/build/Dockerfile b/build/Dockerfile index 7025c4f1d9..c4a77572fd 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -11,7 +11,7 @@ COPY .git .git WORKDIR /build/windows-machine-config-operator/ovn-kubernetes/ COPY ovn-kubernetes/ . WORKDIR /build/windows-machine-config-operator/ovn-kubernetes/go-controller/ -RUN make windows +RUN WINDOWS_BUILD="yes" GOFLAGS=-buildvcs=false hack/build-go.sh hybrid-overlay/cmd/hybrid-overlay-node # Build promu utility tool, needed to build the windows_exporter.exe metrics binary WORKDIR /build/windows-machine-config-operator/promu/ diff --git a/build/Dockerfile.base b/build/Dockerfile.base index f830d23bc1..c5965975ac 100644 --- a/build/Dockerfile.base +++ b/build/Dockerfile.base @@ -11,7 +11,7 @@ COPY .git .git WORKDIR /build/windows-machine-config-operator/ovn-kubernetes/ COPY ovn-kubernetes/ . WORKDIR /build/windows-machine-config-operator/ovn-kubernetes/go-controller/ -RUN make windows +RUN WINDOWS_BUILD="yes" GOFLAGS=-buildvcs=false hack/build-go.sh hybrid-overlay/cmd/hybrid-overlay-node # Build promu utility tool, needed to build the windows_exporter.exe metrics binary WORKDIR /build/windows-machine-config-operator/promu/ diff --git a/build/Dockerfile.ci b/build/Dockerfile.ci index 6322d700f3..a625300545 100644 --- a/build/Dockerfile.ci +++ b/build/Dockerfile.ci @@ -19,7 +19,7 @@ COPY .git .git WORKDIR /build/windows-machine-config-operator/ovn-kubernetes/ COPY ovn-kubernetes/ . WORKDIR /build/windows-machine-config-operator/ovn-kubernetes/go-controller/ -RUN make windows +RUN WINDOWS_BUILD="yes" GOFLAGS=-buildvcs=false hack/build-go.sh hybrid-overlay/cmd/hybrid-overlay-node # Build promu utility tool, needed to build the windows_exporter.exe metrics binary WORKDIR /build/windows-machine-config-operator/promu/ diff --git a/build/Dockerfile.konflux b/build/Dockerfile.konflux index 7b63ff19d6..babd073053 100644 --- a/build/Dockerfile.konflux +++ b/build/Dockerfile.konflux @@ -8,7 +8,7 @@ COPY .git .git WORKDIR /build/windows-machine-config-operator/ovn-kubernetes/ COPY ovn-kubernetes/ . WORKDIR /build/windows-machine-config-operator/ovn-kubernetes/go-controller/ -RUN make windows +RUN WINDOWS_BUILD="yes" GOFLAGS=-buildvcs=false hack/build-go.sh hybrid-overlay/cmd/hybrid-overlay-node # Build promu utility tool, needed to build the windows_exporter.exe metrics binary WORKDIR /build/windows-machine-config-operator/promu/