[BRE-2039] ci(docker): add distroless FIPS Dockerfile.gov variants#7875
Draft
fntyler wants to merge 1 commit into
Draft
[BRE-2039] ci(docker): add distroless FIPS Dockerfile.gov variants#7875fntyler wants to merge 1 commit into
fntyler wants to merge 1 commit into
Conversation
[BRE-2039](https://bitwarden.atlassian.net/browse/BRE-2039) Add Chainguard FIPS (`Dockerfile.gov`) build variants for the server services. * Add `Dockerfile.gov` for all services on `cgr.dev/bitwarden.com` FIPS images * Run services distroless on `dotnet-runtime-fips:10` as nonroot (uid 65532) * Replace `entrypoint.sh` with a direct exec entrypoint; log to stdout * Drop `gosu`/`shadow`/`curl`/`krb5` and in-image healthchecks (k8s probes) * Target `linux/amd64` and `linux/arm64` with a fail-fast platform guard * Keep `MsSqlMigratorUtility` on `dotnet-runtime-fips:10-dev` (shell entrypoint) * Add the `build-chainguard` CI job and document the rework in the assessment
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7875 +/- ##
==========================================
+ Coverage 61.20% 61.21% +0.01%
==========================================
Files 2214 2219 +5
Lines 98033 98052 +19
Branches 8848 8846 -2
==========================================
+ Hits 59997 60019 +22
+ Misses 35921 35918 -3
Partials 2115 2115 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



🎟️ Tracking
BRE-2039
📔 Objective
Add Chainguard FIPS (
Dockerfile.gov) build variants for the server services.Dockerfile.govfor all services oncgr.dev/bitwarden.comFIPS imagesdotnet-runtime-fips:10as nonroot (uid 65532)entrypoint.shwith a direct exec entrypoint; log to stdoutgosu/shadow/curl/krb5and in-image healthchecks (k8s probes)linux/amd64andlinux/arm64with a fail-fast platform guardMsSqlMigratorUtilityondotnet-runtime-fips:10-dev(shell entrypoint)build-chainguardCI job📸 Screenshots