File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ WORKDIR /workspace
1313COPY . .
1414
1515ENV GOEXPERIMENT=strictfipsruntime
16- RUN make -f Makefile-ocp.mk build-ocp GOFLAGS='-tags=strictfipsruntime -mod=vendor -a' GO_BUILD_ENV='CGO_ENABLED=1 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH}' BINARY_NAME=openshift-mcp-server
16+ RUN make -f Makefile-ocp.mk build-ocp GO_BUILD_ENV='GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH}'
1717
1818FROM --platform=$TARGETPLATFORM ${BASE_IMAGE}
1919WORKDIR /
@@ -28,7 +28,9 @@ ENV CONFIG_PATH=/mcp_config.toml
2828# Labels for enterprise contract
2929LABEL com.redhat.component=openshift-mcp-server
3030LABEL description="Red Hat OpenShift MCP Server"
31+ LABEL distribution-scope=private
3132LABEL io.k8s.description="Red Hat OpenShift MCP Server"
33+ LABEL io.k8s.display-name="Red Hat OpenShift MCP Server"
3234LABEL io.openshift.tags="openshift,mcp"
3335LABEL name=openshift-mcp-server
3436LABEL release=0.0.1
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ WORKDIR /workspace
1313COPY . .
1414
1515ENV GOEXPERIMENT=strictfipsruntime
16- RUN make -f Makefile-ocp.mk build-ocp GOFLAGS='-tags=strictfipsruntime -mod=vendor -a' GO_BUILD_ENV='CGO_ENABLED=1 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH}' BINARY_NAME=openshift-mcp-server
16+ RUN make -f Makefile-ocp.mk build-ocp GO_BUILD_ENV='GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH}'
1717
1818FROM --platform=$TARGETPLATFORM ${BASE_IMAGE}
1919WORKDIR /
@@ -28,7 +28,6 @@ ENV CONFIG_PATH=/mcp_config.toml
2828# Labels for enterprise contract
2929LABEL com.redhat.component=openshift-mcp-server
3030LABEL description="Red Hat OpenShift MCP Server"
31- LABEL io.k8s.description="Red Hat OpenShift MCP Server"
3231LABEL io.openshift.tags="openshift,mcp"
3332LABEL name=openshift-mcp-server
3433LABEL release=0.0.1
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ include Makefile
22
33.PHONY : build-ocp
44build-ocp : clean format
5- $(GO_BUILD_ENV ) go build $(COMMON_BUILD_ARGS ) $( GOFLAGS ) -o $( BINARY_NAME ) ./cmd/kubernetes-mcp-server
5+ CGO_ENABLED=1 $(GO_BUILD_ENV ) go build $(COMMON_BUILD_ARGS ) -tags=strictfipsruntime -mod=vendor -a -o openshift-mcp-server ./cmd/kubernetes-mcp-server
You can’t perform that action at this time.
0 commit comments