Skip to content

Commit 4559620

Browse files
committed
#1: Add image metadata in accordance with http://label-schema.org
1 parent b23d803 commit 4559620

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

Dockerfile

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
FROM openjdk:8-jdk
22

3-
LABEL contact="[email protected]" \
4-
sources="https://github.com/dgroup/mat" \
3+
# Build-time metadata in accordance with http://label-schema.org
4+
ARG BUILD_DATE
5+
ARG VCS_REF
6+
ARG VERSION
7+
8+
LABEL org.label-schema.build-date=$BUILD_DATE \
9+
org.label-schema.name="mat" \
10+
org.label-schema.description="Eclipse Memory Analyzer for the JVM heap dump analysis" \
11+
org.label-schema.url="https://github.com/dgroup/mat" \
12+
org.label-schema.vcs-ref=$VCS_REF \
13+
org.label-schema.vcs-url="https://github.com/dgroup/mat" \
14+
org.label-schema.vendor="[email protected]" \
15+
org.label-schema.version=$VERSION \
16+
org.label-schema.schema-version="1.0" \
517
dockerfile="https://github.com/dgroup/mat/blob/master/Dockerfile"
618

719
ENV MAT_HOME=/mat \

0 commit comments

Comments
 (0)