In the pre-merge emoncms v9.9.6 thread we discussed making the update process compatible with non emonSD systems Emoncms V9.9.6 Stable merge (pre-merge check) - #33 by TrystanLea I made the emoncmsupdate script less emonSD specific and you asked @borpin for it to be included in the usefulscripts repository.
This line of development seems separate from the docker side of things. Do we need a generic image build script as well? e.g for DietPi?
Discussing with Glyn, the advantage of docker is that we can specify the versions of all the dependencies and have a common environment. Having a script that can run on multiple distributions might fall foul of this, with issues resulting from different dependency versions etc. What do you think @borpin?