Fixes #7977 - Added rubocop to foreman-docker

```.method``` in a separate line syntax seems to fail in 1.8.7 apparently.