Skip to content

Commit 50ec6b6

Browse files
committed
Fix labels for fips image
1 parent 3b995f1 commit 50ec6b6

File tree

1 file changed

+29
-0
lines changed
  • distribution/docker/src/docker/dockerfiles/wolfi

1 file changed

+29
-0
lines changed

distribution/docker/src/docker/dockerfiles/wolfi/Dockerfile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,35 @@ RUN ln -sf /etc/ssl/certs/java/cacerts /usr/share/elasticsearch/jdk/lib/security
132132

133133
EXPOSE 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+
maintainer="[email protected]" \\
158+
vendor="Elastic" \\
159+
version="${version}" \\
160+
release="1" \\
161+
summary="Elasticsearch" \\
162+
description="You know, for search."
163+
135164
RUN mkdir /licenses && ln LICENSE.txt /licenses/LICENSE
136165

137166
# Our actual entrypoint is `tini`, a minimal but functional init program. It

0 commit comments

Comments
 (0)