Move bundle installation to entrypoint script

Makes it one step less you have to do in the dev-env setup.
This commit is contained in:
Henne Vogelsang 2018-09-12 21:20:30 +02:00
parent f69bb18e79
commit a452257b9a
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0
3 changed files with 18 additions and 25 deletions

View file

@ -1,3 +1,9 @@
#!/bin/bash
# Configure our bundle
export NOKOGIRI_USE_SYSTEM_LIBRARIES=1
# Install our bundle if it's outdated
bundle check || bundle install --jobs=3 --retry=3
# Setup the app if it isn't already setup
bundle exec rake setup:bootstrap
# Start the app
foreman start