kplex icon indicating copy to clipboard operation
kplex copied to clipboard

Docker container version of kplex

Open bklofas opened this issue 4 years ago • 0 comments

Hello stripydog, for your consideration I wrote a dockerfile for building kplex in a container. Running kplex in a container works really well, I've been doing it for a while now with rtl-ais and serial devices as the AIS packet source.

The dockerfile uses Debian Stretch as the base os, installs a few dependencies, builds the package, then removes all the compiler packages. Final container size is 55 to 75 MB depending on architecture. I also added a section to the README about how to run the docker container.

Also here is the github actions workflow for building containers on the github servers. Multi-architecture support, all the containers are uploaded to ghcr.io after build. It adds the built containers to my repo, so you might want to change that before manually running the action (last line of container.yml).

Comments/suggestions/edits welcome. Thanks!

bklofas avatar Jun 22 '21 05:06 bklofas