Rebased Dockerignore

Close #4165
Fixes #2224
I thought there was consensus in the original PR that we would not support globbing. Is everybody okay with supporting globbing now?