mkdir gitlab git clone --recurse-submodules https://gitlab.com/gitlab-org/gitlab . git fetch --all --prune git checkout -- Gemfile.lock db/structure.sql locale git checkout v15.4.0 bundle config set --local deployment 'true' bundle config set --local without 'development test mysql aws kerberos' bundle config build.gpgme --use-system-libraries bundle install --jobs=16 --no-cache bundle clean cp config/gitlab.yml.example config/gitlab.yml cp config/database.yml.postgresql config/database.yml bundle exec rake db:migrate RAILS_ENV=production