Skip to content

Fix Docker runtime environment, SQLite pathing, and documentation#20

Merged
bmcdonald3 merged 5 commits into
mainfrom
release-bugs
May 19, 2026
Merged

Fix Docker runtime environment, SQLite pathing, and documentation#20
bmcdonald3 merged 5 commits into
mainfrom
release-bugs

Conversation

@bmcdonald3
Copy link
Copy Markdown
Member

Summary of changes:

  • Docker image migration: Transitioned the base image from debian:bookworm-slim to gcr.io/distroless/static-debian12:nonroot. Introduced a builder stage to initialize a /data directory and assign ownership to the nonroot user (UID/GID 65532) for persistent SQLite storage.
  • Default configuration: Updated the DatabaseURL default value in cmd/server/main.go to target /data/fru-tracker.db, ensuring the application writes to the initialized, writable directory by default.
  • Database documentation: Added docs/db.md to document the current Ent ORM startup auto-migration strategy, the supported SQLite driver, and the future transition plan toward versioned migration files.
  • README enhancements: Added a specific warning under the verification steps regarding the asynchronous operation of the reconciler to set expectations for state delays. Reformatted the curl POST command into a single line.

Signed-off-by: Ben McDonald <ben.mcdonald@hpe.com>
Signed-off-by: Ben McDonald <ben.mcdonald@hpe.com>
Signed-off-by: Ben McDonald <ben.mcdonald@hpe.com>
Signed-off-by: Ben McDonald <ben.mcdonald@hpe.com>
Signed-off-by: Ben McDonald <ben.mcdonald@hpe.com>
@bmcdonald3 bmcdonald3 merged commit 9a3e191 into main May 19, 2026
4 of 6 checks passed
@bmcdonald3 bmcdonald3 deleted the release-bugs branch May 19, 2026 20:00
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.

1 participant