Skip to content

Commit

Permalink
Adds process group killing option to tini in Dockerfile entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
rfrey-splunk committed Jan 20, 2024
1 parent 3f89ce7 commit 3169656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/docker_image_build/templates/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ RUN {{ splunk_home }}/bin/splunk btool check
{% endif %}

# entrypoint.sh may do run-time configurations prior to starting splunk
ENTRYPOINT [ "/tini", "--", {{ entrypoint | tojson | join(', ') }} ]
ENTRYPOINT [ "/tini", "-g", "--", {{ entrypoint | tojson | join(', ') }} ]

{% if healthcheck_command %}
HEALTHCHECK \
Expand Down

0 comments on commit 3169656

Please sign in to comment.