Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion distribution/docker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ for (final Architecture architecture : Architecture.values()) {
}
if(base == DockerBase.DEFAULT) {
// Add additional docker hub specific context which we use solely for publishing to docker hub.
// At the moment it only differs in not labels added that we need for openshift certification
// At the moment it is exactly the same as the default context.
addBuildDockerContextTask(architecture, base, 'DockerHubContext', "docker-hub-build-context")
}
}
Expand Down
2 changes: 0 additions & 2 deletions distribution/docker/src/docker/Dockerfile.default
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,13 @@ LABEL org.label-schema.build-date="${build_date}" \\
org.opencontainers.image.vendor="Elastic" \\
org.opencontainers.image.version="${version}"

<% if (docker_context != 'docker-hub-build-context') { %>
LABEL name="Elasticsearch" \\
maintainer="infra@elastic.co" \\
vendor="Elastic" \\
version="${version}" \\
release="1" \\
summary="Elasticsearch" \\
description="You know, for search."
<% } %>

RUN mkdir /licenses && ln LICENSE.txt /licenses/LICENSE

Expand Down