Add some standard container labels
This commit is contained in:

committed by
Carl Pearson

parent
e49b05c17b
commit
7b0567eb0a
@@ -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 \
|
||||
|
@@ -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 \
|
||||
|
Reference in New Issue
Block a user