From 4bdec20d0f1bf304c1ead8b9b229ce0e92d6331f Mon Sep 17 00:00:00 2001 From: Nico Stapelbroek Date: Wed, 24 Apr 2019 21:10:57 +0200 Subject: [PATCH 1/2] Add Microbadger labels to docker image --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 40f32bf4..16490c3b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,4 +12,9 @@ RUN pip3 install -r requirements.txt -f /wheels \ && rm -rf /wheels \ && rm -rf /root/.cache/pip/* +ARG VCS_REF +ARG VCS_URL="https://github.com/sherlock-project/sherlock" +LABEL org.label-schema.vcs-ref=$VCS_REF \ + org.label-schema.vcs-url=$VCS_URL + ENTRYPOINT ["python", "sherlock.py"] From 04e96d44b64df05e81bf315b1138334e0fb882bf Mon Sep 17 00:00:00 2001 From: Nico Stapelbroek Date: Wed, 24 Apr 2019 21:18:33 +0200 Subject: [PATCH 2/2] Add Docker image badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index baae098e..3fe9953a 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ +