Add template for including Chrome and ChromeDriver
[discourse_docker.git] / templates / import / mysql-dep.template.yml
1 # This template adds the 'mysql2' gem for import scripts depending on it
2
3 params:
4 home: /var/www/discourse
5
6 hooks:
7 after_bundle_exec:
8 - exec:
9 cd: $home
10 cmd:
11 - echo "gem 'mysql2'" >> Gemfile
12 - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y libmysqlclient-dev
13 - su discourse -c 'bundle install --no-deployment --without test --without development --path vendor/bundle'