@@ -132,6 +132,35 @@ RUN ln -sf /etc/ssl/certs/java/cacerts /usr/share/elasticsearch/jdk/lib/security
132132
133133EXPOSE 9200 9300
134134
135+
136+ LABEL org.label-schema.build-date="${build_date}" \\
137+ org.label-schema.license="${license}" \\
138+ org.label-schema.name="Elasticsearch" \\
139+ org.label-schema.schema-version="1.0" \\
140+ org.label-schema.url="https://www.elastic.co/products/elasticsearch" \\
141+ org.label-schema.usage="https://www.elastic.co/guide/en/elasticsearch/reference/index.html" \\
142+ org.label-schema.vcs-ref="${git_revision}" \\
143+ org.label-schema.vcs-url="https://github.com/elastic/elasticsearch" \\
144+ org.label-schema.vendor="Elastic" \\
145+ org.label-schema.version="${version}" \\
146+ org.opencontainers.image.created="${build_date}" \\
147+ org.opencontainers.image.documentation="https://www.elastic.co/guide/en/elasticsearch/reference/index.html" \\
148+ org.opencontainers.image.licenses="${license}" \\
149+ org.opencontainers.image.revision="${git_revision}" \\
150+ org.opencontainers.image.source="https://github.com/elastic/elasticsearch" \\
151+ org.opencontainers.image.title="Elasticsearch" \\
152+ org.opencontainers.image.url="https://www.elastic.co/products/elasticsearch" \\
153+ org.opencontainers.image.vendor="Elastic" \\
154+ org.opencontainers.image.version="${version}"
155+
156+ LABEL name="Elasticsearch" \\
157+ 158+ vendor="Elastic" \\
159+ version="${version}" \\
160+ release="1" \\
161+ summary="Elasticsearch" \\
162+ description="You know, for search."
163+
135164RUN mkdir /licenses && ln LICENSE.txt /licenses/LICENSE
136165
137166# Our actual entrypoint is `tini`, a minimal but functional init program. It
0 commit comments