From 74a727a9d1b93a8eea1ad8788d355dc50ad4b8fa Mon Sep 17 00:00:00 2001 From: Siteshwar Vashisht Date: Wed, 10 Jul 2024 11:25:59 +0200 Subject: [PATCH] Update comment about using bash as pid 1 Resolves: https://github.com/openscanhub/fedora-infra/issues/61 Signed-off-by: Siteshwar Vashisht --- containers/resalloc-server.Containerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/containers/resalloc-server.Containerfile b/containers/resalloc-server.Containerfile index c116bc7..544f4e0 100644 --- a/containers/resalloc-server.Containerfile +++ b/containers/resalloc-server.Containerfile @@ -56,6 +56,9 @@ COPY configs/ssh_config $HOME/.ssh/config USER 1001 -# This is a hack to use bash to avoid zombie processes +# bash should be pid 1 in this container +# so zombie processes may not be created +# they would be collected by bash +# https://github.com/openscanhub/fedora-infra/issues/61 CMD bash -c "/usr/bin/resalloc-server || exit 1" # CMD sleep inf