2023-01-13 10:45:14 +01: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 15:03:24 +01:00
|
|
|
ARG DOCKER_METADATA_OUTPUT_ANNOTATIONS
|
2023-01-13 10:45:14 +01: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 15:03:24 +01:00
|
|
|
RUN printenv DOCKER_METADATA_OUTPUT_ANNOTATIONS
|
2023-01-13 10:45:14 +01:00
|
|
|
RUN printenv DOCKER_METADATA_OUTPUT_JSON
|
|
|
|
RUN echo $DOCKER_METADATA_OUTPUT_JSON | jq
|