I've configured bitbucket custom runner for repository pipelines and everything works fine, instead of first task of pipelines: npm install .
Complete caches are fetched correctly and I have no idea why it takes so long (4x longer than on bitbucket default pipelines), but any task which comes after first step has very good performance (better than in default bitbucket).
I have set up custom runner using docker in linux docs:
https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-use-runners-for-linux/
Runner is running on my local computer.
Container in which runner runs use only up to 2GB of memory, whats a bit strange, beacuse in bitbucket-pipelines.yaml, I have configuration which increase size (size: x2).
Does anybody had similar issue? What could be causing this problem? Docker container settings or maybe network conneting on my local system?