The .dockerignore symlink in the project root dir is only picked up by the android build. The android build has the project root as its build context for "docker build" -- the other builds have their own subdirectories as build context, e.g. contrib/build-linux/appimage.