Two fixups to the lint container:
- Add a missing
--platform=linuxto avoid running a non-native arch, like s390x, which happens with podman if such a container was most recently used. - Flatten the entry points to remove the bash-based one:
Previously, an additional entry point into the container that spawned a bash was supported. The bash had an alias lint to run all lint scripts. However, such a use-case seems limited (because it only runs inside the container), inflexible (because it only allows running all lint scripts), and possibly brittle (because it can miss re-building the image when the cache is stale). So remove it and just offer the single entry point via the ./ci/lint.py script.
If there is a use-case to skip the image building, it should be trivial to add an env var setting the the lint Python script like DANGER_SKIP_IMAGE_RE_BUILD=1 (or so) in the future.