docker-image: add depedency from build to lint

For some reason, whenever the verify stage fails, the build jobs are
skipped (as expected), but the upload jobs are still attempted and fail
because nothing is built.

This could be due to dependencies set from upload jobs on build jobs,
but build jobs not having any dependencies. It might be that an
incomplete graph confuses gitlab and causes these jobs to run when they
should not.

Try to add dependencies from build jobs to the lint job as an attempt to
fix this.
1 job for master in 37 seconds
Status Job ID Name Coverage
passed #40575