Add metadata to image
Also, pin base image to a specific version instead of `latest`. Signed-off-by: Chris Evich <chris_gitlab@icuc.me>
This commit is contained in:
@@ -6,9 +6,15 @@
|
||||
# https://docs.gitlab.com/runner/executors/docker.html#use-podman-to-run-docker-commands
|
||||
#
|
||||
|
||||
ARG FLAVOR="stable"
|
||||
ARG BASE_TAG="latest"
|
||||
FROM quay.io/podman/$FLAVOR:$BASE_TAG
|
||||
ARG BASE_REPO="quay.io"
|
||||
ARG BASE_NS="podman"
|
||||
ARG BASE_NAME="stable"
|
||||
ARG BASE_TAG="v4.3.1"
|
||||
FROM $BASE_REPO/$BASE_NS/$BASE_NAME:$BASE_TAG
|
||||
# Metadata to identify the base-image FQIN
|
||||
LABEL org.opencontainers.image.base.name="$BASE_REPO/$BASE_NS/$BASE_NAME:$BASE_TAG"
|
||||
# Identify the repository source for the image.
|
||||
LABEL org.opencontainers.image.source="https://gitlab.com/qontainers/pipglr"
|
||||
|
||||
# This is a list of packages to remove and/or exclude from the image.
|
||||
# Primarily this is done for security reasons, should a runner process
|
||||
|
||||
Reference in New Issue
Block a user