2023-01-13 09:45:14 +00:00
|
|
|
# syntax=docker/dockerfile:1
|
|
|
|
FROM alpine
|
|
|
|
RUN apk add --no-cache coreutils jq
|
|
|
|
ARG DOCKER_METADATA_OUTPUT_VERSION
|
|
|
|
ARG DOCKER_METADATA_OUTPUT_TAGS
|
|
|
|
ARG DOCKER_METADATA_OUTPUT_LABELS
|
2023-11-30 14:03:24 +00:00
|
|
|
ARG DOCKER_METADATA_OUTPUT_ANNOTATIONS
|
2023-01-13 09:45:14 +00:00
|
|
|
ARG DOCKER_METADATA_OUTPUT_JSON
|
|
|
|
RUN printenv DOCKER_METADATA_OUTPUT_VERSION
|
|
|
|
RUN printenv DOCKER_METADATA_OUTPUT_TAGS
|
|
|
|
RUN printenv DOCKER_METADATA_OUTPUT_LABELS
|
2023-11-30 14:03:24 +00:00
|
|
|
RUN printenv DOCKER_METADATA_OUTPUT_ANNOTATIONS
|
2023-01-13 09:45:14 +00:00
|
|
|
RUN printenv DOCKER_METADATA_OUTPUT_JSON
|
|
|
|
RUN echo $DOCKER_METADATA_OUTPUT_JSON | jq
|