Commit 533d3739 authored by Martin Jeřábek's avatar Martin Jeřábek

misc: run-docker-tests: restrict memory usage to 6G

parent 1798f3b0
Pipeline #6822 passed with stage
in 4 minutes and 4 seconds
......@@ -24,6 +24,9 @@ if [ -d /build ]; then
d="$(realpath "$(dirname "$0")")"
docker run --rm -ti -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v "$d:/build" --user $(id -u):$(id -g) /build/run-docker-test "$@"
docker run --rm -ti -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix \
-v "$d:/build" --user $(id -u):$(id -g) --memory 6G \ \
/build/run-docker-test "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment