Hi all,
I’ve had various levels of difficulty getting the Hologram SDK running on different platforms. Between the community posts and the SDK documentation, it wasn’t super clear which versions of python were necessary, or which additional dependencies.
I think the bash script installer has simplified a lot of this, but I really wanted to have a better understanding of what was necessary to run the CLI / SDK. So, I created a docker image based on the official Python 3.7.8 image (built on Debian buster) and installed the one additional dependency in that image to get things running (sudo). The Github repo is:
I’ve also created a docker-compose file that attempts to document the flags used for giving Docker access to the underlying serial ports on the host system and privileges. I haven’t production or stress-tested this; just simply created a proof-of-concept.
Just wanted to share. The Github link to the Docker / docker-compose files are linked below. I’ve also tested this on my x86_64-based Linux laptop and a Raspberry Pi 3 running Raspbian 32-bit.
Once you’ve cloned the repo and are in the repo directory, you can run:
docker-compose --rm hologram
This will drop you into a bash shell as root where you can then execute the Holgoram CLI commands, for instance:
hologram network connect
Hope this is helpful.