docker-compose run --rm -e SKIP="AuthorName AuthorEmail" cookbook \
bash -c "overcommit --sign && overcommit -r && rspec"
To run integration tests you need Chef Development Kit. After installing it, invoke:
chef exec bundle install -j 4 --path vendor
sudo chef exec bundle exec rake integration:docker