totev / vodafone-station-cli

Access your Vodafone Station from the comfort of the command line.
MIT License
33 stars 9 forks source link

Add Dockerfile #144

Closed 0xF4CED closed 1 year ago

0xF4CED commented 1 year ago

Creates a ~77 MB container that makes it easy to access this tool. E.g.: alias vodafone-station-cli="podman run --rm --secret VODAFONE_ROUTER_PASSWORD,type=env vodafone-station-cli:latest"

totev commented 1 year ago

Thanks for the contribution @salevdns!

Is this something useful? There is already a published package on npm which one can execute directly via npx.

0xF4CED commented 1 year ago

For me it is useful. Containerizing the tool provides a consistent, isolated, and easily deployable solution, regardless of the host environment's configuration. In this case, it also reduces disk space usage a bit. My personal motivation behind this was to enable execution on an immutable host.