Skip to content

Commit

Permalink
[UBI] Copy license to /licenses folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Smalley committed Sep 15, 2020
1 parent f0a547f commit 8260388
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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}}" \
Expand Down Expand Up @@ -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"]

0 comments on commit 8260388

Please sign in to comment.