This s just a playground try https://github.com/docker/build-push-action/
docker run --rm -it gableroux/howdoi
I tried both solutions and since howdoi must have libxslt.so.1 shared library in place. Here's the result so far:
| multi-stage build | single stage |
|---|---|
| 83.21 MB | 81.6 MB |
In the case of howdoi, it looks like the multi-stage build is not the best solution.
docker pull gableroux/howdoi:sha-25efd3e