Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker container version of kplex #55

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

bklofas
Copy link

@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