Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add comments for --ulimit parameter.
An example: $ s2i_args="pull-policy=never --incremental -e DEV_MODE=true -v /var/lib/psql --ulimit nofile=4096:4096" $ echo "$s2i_args" | grep -q '\--ulimit' && build_args=$(echo "$s2i_args" | grep -o -e '\--ulimit[[:space:]]\S*\w=*') $ echo $build_args --ulimit nofile=4096:4096 The second example: $ s2i_args="pull-policy=never --incremental -e DEV_MODE=true -v /var/lib/psql --ulimit nofile=4096:4096 -v /etc" $ echo "$s2i_args" | grep -q '\--ulimit' && build_args=$(echo "$s2i_args" | grep -o -e '\--ulimit[[:space:]]\S*\w=*') $ echo $build_args --ulimit nofile=4096:4096 Signed-off-by: Petr "Stone" Hracek <[email protected]>
- Loading branch information