Skip to content

Docker container version of kplex#55

Open
bklofas wants to merge 5 commits intostripydog:masterfrom
bklofas:master
Open

Docker container version of kplex#55
bklofas wants to merge 5 commits intostripydog:masterfrom
bklofas:master

Conversation

@bklofas
Copy link
Copy Markdown

@bklofas bklofas commented Jun 22, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant