mirror of
https://github.com/elastic/logstash.git
synced 2025-06-27 17:08:55 -04:00
Update Dockerfile.erb
This commit is contained in:
parent
2ae640f189
commit
619cc0bcdd
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ RUN for iter in {1..10}; do \
|
|||
|
||||
# Provide a non-root user to run the process.
|
||||
RUN <% if image_flavor == 'full' || image_flavor == 'oss' %> userdel -r ubuntu && <% end %> groupadd --gid 1000 logstash && \
|
||||
adduser --uid 1000 --gid 1000 \
|
||||
useradd --uid 1000 --gid 1000 \
|
||||
<% if image_flavor != 'ironbank' %>--home <% else %>--home-dir <% end %>/usr/share/logstash --no-create-home \
|
||||
logstash
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue