Skip to content

Commit 199419a

Browse files
synaretemergify[bot]
authored andcommitted
dockerfile: add image annotations
Use standard image-spec annotations[1] to define minimal reference to SINK project within the samba-operator image itself. [1] https://github.com/opencontainers/image-spec/blob/main/annotations.md Signed-off-by: Shachar Sharon <[email protected]>
1 parent ed6bf12 commit 199419a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=${ARCH} GO111MODULE=on \
2525
-o manager main.go
2626

2727
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
28+
LABEL org.opencontainers.image.title="Samba operator"
29+
LABEL org.opencontainers.image.vendor="Samba in Kubernetes"
30+
LABEL org.opencontainers.image.url="https://github.com/samba-in-kubernetes/samba-operator"
2831

2932
WORKDIR /
3033
COPY --from=builder /workspace/manager .

0 commit comments

Comments
 (0)