mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
install: use all available processor cores to speed up gem installation
This commit is contained in:
parent
d85ed24420
commit
04d949a8e4
@ -81,7 +81,7 @@ if [ -d "${GEM_CACHE_DIR}" ]; then
|
||||
mv ${GEM_CACHE_DIR} vendor/
|
||||
chown -R git:git vendor/cache
|
||||
fi
|
||||
sudo -u git -H bundle install --deployment --without development test aws
|
||||
sudo -u git -H bundle install -j$(nproc) --deployment --without development test aws
|
||||
|
||||
# install gitlab-shell
|
||||
sudo -u git -H bundle exec rake gitlab:shell:install[v${GITLAB_SHELL_VERSION}] REDIS_URL=unix:/var/run/redis/redis.sock RAILS_ENV=production
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user