We actually use docker multistage build as mentioned here as a replacement for make file. The nice thing is you can run it locally to build but also run it in a podman container as a part of CI/CD process as is without any changes.
Nice thing about this strategy is that you can uniformly enforce dependencies, versions, etc
Nice thing about this strategy is that you can uniformly enforce dependencies, versions, etc