docker: Use extra_hosts only for CI

6 jobs for hotfix-s/4242-compare-samples-not-working in 9 minutes and 7 seconds (queued for 1 second)