diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5180c51..885bb3f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,5 +18,5 @@ build windows x64: - docker:dind script: - echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin - - docker build -f Dockerfile-windows -t ${CI_REGISTRY_IMAGE}:windows-x64 . + - docker build --ulimit nofile=5000:5000 -f Dockerfile-windows -t ${CI_REGISTRY_IMAGE}:windows-x64 . - docker push ${CI_REGISTRY_IMAGE}:windows-x64 diff --git a/windows.sh b/windows.sh index bf932a0..177e556 100755 --- a/windows.sh +++ b/windows.sh @@ -12,6 +12,11 @@ function min { # Leave wineserver running in the background setsid wineserver -p -f & +# Increase open file limit +echo " --- Increasing max. open file limit" +ulimit -n 5120 + + # Install tools echo " --- Installing tools" cd ~/.wine/drive_c/Program\ Files/