Skip to content

Commit

Permalink
doc(README): add section on traceability
Browse files Browse the repository at this point in the history
  • Loading branch information
panchoh committed Jan 11, 2025
1 parent 5b3e319 commit 11ff38a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,16 @@ As this is a very barebones entrypoint with just enough to run in the
foreground, there is no logging enabled by default.
To send logging to stdout you can add `--log-facility=-` as an option.

## Traceability

These Docker images are automatically labeled with the Git commit revision of
the tree that was used to produce them, and can be obtained by running:

docker image inspect foo | jq '.[0].Config.Labels["org.opencontainers.image.revision"]'

or

podman image inspect foo | jq '.[0].Labels["org.opencontainers.image.revision"]'


[dnsmasq]: http://www.thekelleys.org.uk/dnsmasq/doc.html

0 comments on commit 11ff38a

Please sign in to comment.