I want to run onionshare-cli in a docker container on a Raspberry Pi it requires Tor to be installed - the debian package (apt get tor) is out of date, and the Torproject doesn't provide for the Pi.
So, I have built tor from the source (on github) as per How can I install Tor from the source code in the Git repository?
This provides a 'make install' to install the software on the machine it was built on, but I just want the minimum install of the code into my onionshare docker container.
Now I have all the files on the 'real' Pi and a Dockerfile ready to make the container -- how do I know which files I have to copy and where in the docker image?
The 'make install -d' (to see what it does) produces masses of output(!) and I guess copies more than I need just to get a minimal install.
edit I am happy with docker containers the main reason I mention them in the Q is to emphasize that that I just want a basic functional install of TOR because it is for a light weight 'appliance'. Even if I build and install in a container, what can I then delete?