Skip to content

Commit 5dd75bf

Browse files
committed
Container labels according to http://label-schema.org/rc1/
1 parent 14e474d commit 5dd75bf

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
FROM maven:3.3-jdk-8-alpine
22
MAINTAINER Stian Soiland-Reyes <[email protected]>
33

4+
# Build-time metadata as defined at http://label-schema.org
5+
ARG BUILD_DATE
6+
ARG VCS_REF
7+
ARG VERSION
8+
LABEL org.label-schema.build-date=$BUILD_DATE \
9+
org.label-schema.name="CWL Viewer" \
10+
org.label-schema.description="Viewer of Common Workflow Language" \
11+
org.label-schema.url="https://view.commonwl.org/" \
12+
org.label-schema.vcs-ref=$VCS_REF \
13+
org.label-schema.vcs-url="https://github.com/common-workflow-language/cwlviewer" \
14+
org.label-schema.vendor="Common Workflow Language project" \
15+
org.label-schema.version=$VERSION \
16+
org.label-schema.schema-version="1.0"
17+
18+
419
RUN apk add --update graphviz ttf-freefont && rm -rf /var/cache/apk/*
520

621
RUN mkdir /usr/share/maven/ref/repository

0 commit comments

Comments
 (0)