switching to slim docker images and correcting linter errors

2 jobs for impelemtation_preprocessing in 2 minutes (queued for 1 second)