Skip to content

Commit

Permalink
Update comment about using bash as pid 1
Browse files Browse the repository at this point in the history
Resolves: #61

Signed-off-by: Siteshwar Vashisht <[email protected]>
  • Loading branch information
siteshwar committed Jul 10, 2024
1 parent 9b02e6f commit 74a727a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion containers/resalloc-server.Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 74a727a

Please sign in to comment.