buildkite-plugins / docker-buildkite-plugin

🐳📦 Run any build step in a Docker container
MIT License
112 stars 106 forks source link

Add ulimits support #218

Closed francoiscampbell closed 2 years ago

francoiscampbell commented 2 years ago

Adds support for docker run --ulimit (https://docs.docker.com/engine/reference/commandline/run/#set-ulimits-in-container---ulimit) under the ulimits: plugin option.

Tested with a local pipeline:

Screen Shot 2022-09-27 at 3 41 06 PM Screen Shot 2022-09-27 at 3 41 52 PM

ulimit -a output:

Screen Shot 2022-09-27 at 3 21 20 PM
francoiscampbell commented 2 years ago

Thanks @toote, added tests and bumped the readme versions