-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update ironbank build with latest docker context #67504
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -337,6 +337,7 @@ RUN chmod g=u /etc/passwd && \\ | |
|
||
EXPOSE 9200 9300 | ||
|
||
<% if (docker_base != 'iron_bank') { %> | ||
LABEL org.label-schema.build-date="${build_date}" \\ | ||
org.label-schema.license="${license}" \\ | ||
org.label-schema.name="Elasticsearch" \\ | ||
|
@@ -356,8 +357,9 @@ LABEL org.label-schema.build-date="${build_date}" \\ | |
org.opencontainers.image.url="https://www.elastic.co/products/elasticsearch" \\ | ||
org.opencontainers.image.vendor="Elastic" \\ | ||
org.opencontainers.image.version="${version}" | ||
<% } %> | ||
|
||
<% if (docker_base == 'ubi' || docker_base == 'iron_bank') { %> | ||
<% if (docker_base == 'ubi') { %> | ||
LABEL name="Elasticsearch" \\ | ||
maintainer="[email protected]" \\ | ||
vendor="Elastic" \\ | ||
|
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
apiVersion: 1 | ||
|
||
# The repository name in registry1, excluding /ironbank/ | ||
name: "elastic/elasticsearch/elasticsearch" | ||
|
||
# List of tags to push for the repository in registry1 | ||
# The most specific version should be the first tag and will be shown | ||
# on ironbank.dsop.io | ||
tags: | ||
- "${version}" | ||
- "latest" | ||
|
||
# Build args passed to Dockerfile ARGs | ||
args: | ||
BASE_IMAGE: "redhat/ubi/ubi8" | ||
BASE_TAG: "8.3" | ||
|
||
# Docker image labels | ||
labels: | ||
org.opencontainers.image.title: "elasticsearch" | ||
# Human-readable description of the software packaged in the image | ||
org.opencontainers.image.description: "You know, for search." | ||
# License(s) under which contained software is distributed | ||
org.opencontainers.image.licenses: "${license}" | ||
# URL to find more information on the image | ||
org.opencontainers.image.url: "https://github.com/elastic/elasticsearch" | ||
# Name of the distributing entity, organization or individual | ||
org.opencontainers.image.vendor: "Elastic" | ||
org.opencontainers.image.version: "${version}" | ||
# Keywords to help with search (ex. "cicd,gitops,golang") | ||
mil.dso.ironbank.image.keywords: "search,elastic,elasticsearch,java" | ||
# This value can be "opensource" or "commercial" | ||
mil.dso.ironbank.image.type: "commercial" | ||
# Product the image belongs to for grouping multiple images | ||
mil.dso.ironbank.product.name: "elasticsearch" | ||
|
||
# List of resources to make available to the offline build context | ||
resources: | ||
- filename: "elasticsearch-${version}-linux-x86_64.tar.gz" | ||
url: "<artifact_path>/elasticsearch-${version}-linux-x86_64.tar.gz" | ||
- filename: "tini" | ||
url: "https://github.com/krallin/tini/releases/download/v0.19.0/tini-amd64" | ||
validation: | ||
type: "sha256" | ||
value: "93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c" | ||
|
||
# List of project maintainers | ||
maintainers: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should/could we use distro lists here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What would they be? @nkammah any thoughts here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't see any mention in the doc on using distro lists - the different examples I've looked at in other projects uses individuals. If you're ok with it, let's stick to individuals for now. |
||
- name: "Nassim Kammah" | ||
email: "[email protected]" | ||
- name: "Rory Hunter" | ||
email: "[email protected]" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What will the value be for
"${license}"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'll "Elastic-License".