Skip to content

build(image): overwrite base image annotations#6076

Merged
brancz merged 1 commit intoparca-dev:mainfrom
maxbrunet:build/image/annotations
Mar 21, 2026
Merged

build(image): overwrite base image annotations#6076
brancz merged 1 commit intoparca-dev:mainfrom
maxbrunet:build/image/annotations

Conversation

@maxbrunet
Copy link
Member

The Alpine base image sets annotations that the Parca image should overwrite:

$ regctl manifest get ghcr.io/parca-dev/parca:v0.25.0 --platform=linux/amd64 --format='{{printPretty .Annotations}}'
{
  "com.docker.official-images.bashbrew.arch": "amd64",
  "org.opencontainers.image.base.digest": "sha256:85f2b723e106c34644cd5851d7e81ee87da98ac54672b29947c052a45d31dc2f",
  "org.opencontainers.image.base.name": "docker.io/library/alpine@sha256:4b7ce07002c69e8f3d704a9c5d6fd3053be500b7f1c69fc0d80990c2ad8dd412",
  "org.opencontainers.image.created": "2025-10-08T11:04:56Z",
  "org.opencontainers.image.revision": "4dc13cbc7caffe03c98aa99f28e27c2fb6f7e74d",
  "org.opencontainers.image.source": "https://github.com/alpinelinux/docker-alpine.git#4dc13cbc7caffe03c98aa99f28e27c2fb6f7e74d:x86_64",
  "org.opencontainers.image.url": "https://hub.docker.com/_/alpine",
  "org.opencontainers.image.version": "3.22.2"
}

Note: This is different from the labels

Labels
$ regctl image inspect ghcr.io/parca-dev/parca:v0.25.0 --format='{{printPretty .Config.Labels}}'
{
  "io.buildah.version": "1.33.7",
  "org.opencontainers.image.description": "Continuous profiling for analysis of CPU and memory usage, down to the line number and throughout time. Saving infrastructure cost, improving performance, and increasing reliability.",
  "org.opencontainers.image.licenses": "Apache-2.0",
  "org.opencontainers.image.source": "https://github.com/parca-dev/parca",
  "org.opencontainers.image.url": "https://github.com/parca-dev/parca"
}

@brancz brancz merged commit df74c48 into parca-dev:main Mar 21, 2026
33 checks passed
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