Skip to content

Commit

Permalink
Add ulimit in build command
Browse files Browse the repository at this point in the history
  • Loading branch information
Benkia committed Oct 21, 2023
1 parent b859c2f commit 61037b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions skipper/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ def run(command, fqdn_image=None, environment=None, interactive=False, name=None

def _run(cmd_args, stdout_to_stderr=False):
logger = logging.getLogger('skipper')

if '--ulimit' not in cmd_args:
for cmd_limit in utils.SKIPPER_ULIMIT:
cmd_args += cmd_limit

cmd = [utils.get_runtime_command()]
cmd.extend(cmd_args)
logger.debug(' '.join(cmd))
Expand Down

0 comments on commit 61037b0

Please sign in to comment.