From d608a6ef6787a6e84044e233831f0fe96473ae03 Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 11 Jun 2020 03:00:40 +0200 Subject: [PATCH] feat: make use of the build hook for image metadata --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Dockerfile b/Dockerfile index c71de99..6bd5a50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,16 @@ FROM python:3.9-rc-alpine +ARG BUILD_DATE +ARG VCS_REF + +LABEL description="Docker image for running tests using robot framework." + +LABEL org.label-schema.build-date=$BUILD_DATE \ + org.label-schema.vcs-url="https://github.com/wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf/docker-alpine-rf.git" \ + org.label-schema.vcs-ref=$VCS_REF \ + org.label-schema.license=GPL-3.0 + + RUN apk -U upgrade RUN apk add --no-cache \ udev \