mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[UBI] Copy license to /licenses folder (#77563)
Requirement for OpenShift certification https://redhat-connect.gitbook.io/partner-guide-for-red-hat-openshift-and-container/program-on-boarding/technical-prerequisites#licenses-requirements Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
parent
0752de7b10
commit
e667f2fa8d
1 changed files with 5 additions and 1 deletions
|
@ -85,7 +85,6 @@ RUN groupadd --gid 1000 kibana && \
|
|||
useradd --uid 1000 --gid 1000 \
|
||||
--home-dir /usr/share/kibana --no-create-home \
|
||||
kibana
|
||||
USER kibana
|
||||
|
||||
LABEL org.label-schema.build-date="{{dockerBuildDate}}" \
|
||||
org.label-schema.license="{{license}}" \
|
||||
|
@ -115,8 +114,13 @@ LABEL name="Kibana" \
|
|||
release="1" \
|
||||
summary="Kibana" \
|
||||
description="Your window into the Elastic Stack."
|
||||
|
||||
RUN mkdir /licenses && \
|
||||
cp LICENSE.txt /licenses/LICENSE
|
||||
{{/ubi}}
|
||||
|
||||
USER kibana
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/dumb-init", "--"]
|
||||
|
||||
CMD ["/usr/local/bin/kibana-docker"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue