refactor bootstrap script

2 jobs for !199 with GONRG-4911-fix-bootstrap-scripts in 26 minutes and 35 seconds (queued for 1 second)
latest merge request