I would like to configure docker memory limit differently depending on the step I run.
In fact I have a step that perform tests and use a lot of memory using docker-compose, but some other steps that just build the docker image.
For instance one step that use docker with 1GB and another one with 6GB to hold my several services
Is it possible to override docker memory limit for a specific step ?