From b14116f91c72ece834cc2233cc963b2d4f6d2fc2 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski <jon@budzenski.me> Date: Mon, 23 Aug 2021 13:16:51 -0500 Subject: [PATCH] set user after mkdir --- .../os_packages/docker_generator/templates/base/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/dev/build/tasks/os_packages/docker_generator/templates/base/Dockerfile b/src/dev/build/tasks/os_packages/docker_generator/templates/base/Dockerfile index e2c82495888ee..1baedcbbea59e 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/templates/base/Dockerfile +++ b/src/dev/build/tasks/os_packages/docker_generator/templates/base/Dockerfile @@ -155,8 +155,6 @@ RUN mkdir /licenses && \ cp LICENSE.txt /licenses/LICENSE {{/ubi}} -USER kibana - ENTRYPOINT ["/bin/tini", "--"] {{#cloud}} @@ -170,3 +168,6 @@ RUN mkdir /app && \ {{^cloud}} CMD ["/usr/local/bin/kibana-docker"] {{/cloud}} + + +USER kibana