From 81e8ae3e2050813b41950663a8810da1c8aace9f Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 10 Aug 2020 00:26:49 +0200 Subject: [PATCH] Add created label --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 170b42f..2973a4a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,13 +7,17 @@ RUN \ FROM scratch -ARG GIT_COMMIT= +ARG \ + GIT_COMMIT=\ + BUILD_DATE= # Image annotations, see https://github.com/opencontainers/image-spec/blob/master/annotations.md LABEL \ org.opencontainers.image.vendor=Zombi \ + org.opencontainers.image.created=$BUILD_DATE \ org.opencontainers.image.source=https://gitea.zom.bi/images/hello-world.git \ org.opencontainers.image.revision=$GIT_COMMIT + COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt ENV HELLO=world \ No newline at end of file