From 3819ddefa2798ad7213a265ada7bb477a5e513da Mon Sep 17 00:00:00 2001 From: Dany Marcoux Date: Thu, 19 Dec 2024 22:33:22 +0100 Subject: [PATCH] Set org.opencontainers.image.source label in Dockerfile As documented in the OCI Image Format, org.opencontainers.image.source[1] identifies an image's source repository. This is purely for documentation purposes. It does however help tools such as Renovate[2] to find the changelogs when a new Fusion version is released. The changelogs would then be included in the PR Renovate creates. [1]: https://github.com/opencontainers/image-spec/blob/5325ec48851022d6ded604199a3566254e72842a/annotations.md#L24 [2]: https://docs.renovatebot.com/modules/datasource/docker/#description --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 5b30f6f..ecd68d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ RUN go build -o fusion ./cmd/server/* # deploy FROM debian:12 +LABEL org.opencontainers.image.source="https://github.com/0x2E/fusion" RUN apt-get update && apt-get install -y sqlite3 ca-certificates WORKDIR /fusion COPY --from=be /src/fusion ./