We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4516c7a commit 12ff04eCopy full SHA for 12ff04e
src/dev/build/tasks/os_packages/docker_generator/templates/Dockerfile
@@ -85,7 +85,6 @@ RUN groupadd --gid 1000 kibana && \
85
useradd --uid 1000 --gid 1000 \
86
--home-dir /usr/share/kibana --no-create-home \
87
kibana
88
-USER kibana
89
90
LABEL org.label-schema.build-date="{{dockerBuildDate}}" \
91
org.label-schema.license="{{license}}" \
@@ -115,8 +114,13 @@ LABEL name="Kibana" \
115
114
release="1" \
116
summary="Kibana" \
117
description="Your window into the Elastic Stack."
+
118
+RUN mkdir /licenses && \
119
+ cp LICENSE.txt /licenses/LICENSE
120
{{/ubi}}
121
122
+USER kibana
123
124
ENTRYPOINT ["/usr/local/bin/dumb-init", "--"]
125
126
CMD ["/usr/local/bin/kibana-docker"]
0 commit comments