mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
removed --local flag from bundle install
bundle automatically uses the cache when available
This commit is contained in:
parent
93b5cd5257
commit
7868b26b7a
@ -71,14 +71,10 @@ sudo -u git -H touch log/production.log
|
||||
|
||||
# install gems required by gitlab, use local cache if available
|
||||
if [ -d "/app/setup/cache" ]; then
|
||||
# offline gem installation
|
||||
mv /app/setup/cache vendor/
|
||||
chown -R git:git vendor/cache
|
||||
sudo -u git -H bundle install --local --deployment --without development test aws
|
||||
else
|
||||
# online gem installation
|
||||
sudo -u git -H bundle install --deployment --without development test aws
|
||||
fi
|
||||
sudo -u git -H bundle install --deployment --without development test aws
|
||||
|
||||
# make sure everything in /home/git is owned by the git user
|
||||
chown -R git:git /home/git/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user