Add some standard container labels

This commit is contained in:
Carl Pearson
2024-07-10 06:19:25 -06:00
committed by Carl Pearson
parent e49b05c17b
commit 7b0567eb0a
2 changed files with 21 additions and 0 deletions

View File

@@ -1,7 +1,18 @@
# Stage 1: Build environment
FROM docker.io/redhat/ubi8 AS builder
LABEL maintainer="Carl Pearson <me@carlpearson.net>"
LABEL org.opencontainers.image.title="clang-format 16"
LABEL description="A container with clang-format 16"
LABEL org.opencontainers.image.description="A container with clang-format 16"
LABEL org.opencontainers.image.source https://github.com/cwpearson/clang-format
# LABEL version="1.0"
# LABEL org.opencontainers.image.version="1.0"
# LABEL org.opencontainers.image.url="https://example.com"
# LABEL org.opencontainers.image.documentation="https://example.com/docs"
# LABEL org.opencontainers.image.vendor="Example Corp"
# LABEL org.opencontainers.image.licenses="MIT"
RUN dnf install -y \
cmake \

View File

@@ -1,7 +1,17 @@
# Stage 1: Build environment
FROM docker.io/redhat/ubi8 AS builder
LABEL maintainer="Carl Pearson <me@carlpearson.net>"
LABEL org.opencontainers.image.title="clang-format 8"
LABEL description="A container with clang-format 8"
LABEL org.opencontainers.image.description="A container with clang-format 8"
LABEL org.opencontainers.image.source https://github.com/cwpearson/clang-format
# LABEL version="1.0"
# LABEL org.opencontainers.image.version="1.0"
# LABEL org.opencontainers.image.url="https://example.com"
# LABEL org.opencontainers.image.documentation="https://example.com/docs"
# LABEL org.opencontainers.image.vendor="Example Corp"
# LABEL org.opencontainers.image.licenses="MIT"
RUN dnf install -y \
cmake \