Skip to content

chore: Update Dockerfiles to use Go toolset 1.26.3 and native Go FIPS 140 configuration in Konflux Dockerfiles - #705

Merged
alyssacgoins merged 1 commit into
red-hat-data-services:rhoai-3.5from
hbelmiro:fips-rhoai-3.5
Jun 24, 2026
Merged

chore: Update Dockerfiles to use Go toolset 1.26.3 and native Go FIPS 140 configuration in Konflux Dockerfiles#705
alyssacgoins merged 1 commit into
red-hat-data-services:rhoai-3.5from
hbelmiro:fips-rhoai-3.5

Conversation

@hbelmiro

Copy link
Copy Markdown

Summary

  • Bump go-toolset from 1.26 to 1.26.3 with pinned digest in Konflux Dockerfiles
  • Migrate FIPS from GOEXPERIMENT=strictfipsruntime dual-binary to native GOFIPS140=v1.0.0 single binary
  • Remove argoexec-fips artifact (no longer needed)

Jira: https://redhat.atlassian.net/browse/RHOAIENG-70533

@hbelmiro

Copy link
Copy Markdown
Author

/hold


RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build GIT_COMMIT=${GIT_COMMIT} GIT_TAG=${GIT_TAG} GIT_TREE_STATE=${GIT_TREE_STATE} CGO_ENABLED=1 GOEXPERIMENT=strictfipsruntime go build -tags strictfipsruntime -v -o dist/argoexec-fips ./cmd/argoexec
RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build GIT_COMMIT=${GIT_COMMIT} GIT_TAG=${GIT_TAG} GIT_TREE_STATE=${GIT_TREE_STATE} CGO_ENABLED=0 go build -ldflags '-extldflags -static' -v -o dist/argoexec ./cmd/argoexec
RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build GIT_COMMIT=${GIT_COMMIT} GIT_TAG=${GIT_TAG} GIT_TREE_STATE=${GIT_TREE_STATE} CGO_ENABLED=0 GOTOOLCHAIN=local GOFIPS140=v1.0.0 go build -tags no_openssl -ldflags '-extldflags -static' -v -o dist/argoexec ./cmd/argoexec

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just curious: why did you combine these two lines into one here?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was two different files:
-o dist/argoexec-fips
-o dist/argoexec
Now it's only the latter.

@alyssacgoins
alyssacgoins merged commit 017ed13 into red-hat-data-services:rhoai-3.5 Jun 24, 2026
14 checks passed
@hbelmiro
hbelmiro deleted the fips-rhoai-3.5 branch June 24, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants