Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Container: Add initial container for meshtastic-cli #847

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

Open
oliv3r wants to merge 1 commit into meshtastic:master
base: master
Choose a base branch
Loading
from oliv3r:containerization

Conversation

@oliv3r
Copy link

@oliv3r oliv3r commented Oct 28, 2025

Just a quick set of files to enable the build of (tagged) containers. Both alpine and debian containers are available (~200MiB/~1.2GiB) allowing us to use meshtastic cli with a quick docker run, instead of having to build/install stuff locally.

Copy link

CLAassistant commented Oct 28, 2025
edited
Loading

CLA assistant check
All committers have signed the CLA.

@oliv3r oliv3r changed the title (削除) Container: Add initial container for meshtastic-cli (削除ここまで) (追記) [DRAFT]: Container: Add initial container for meshtastic-cli (追記ここまで) Oct 28, 2025
@oliv3r oliv3r force-pushed the containerization branch 2 times, most recently from 29755a7 to 8e9d516 Compare October 29, 2025 13:08
@oliv3r oliv3r changed the title (削除) [DRAFT]: Container: Add initial container for meshtastic-cli (削除ここまで) (追記) Container: Add initial container for meshtastic-cli (追記ここまで) Oct 29, 2025
Copy link
Contributor

@ianmcorvidae ianmcorvidae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small comment, but in general I think this is good. I haven't actually tested the containerfiles myself but they look like they should work fine and hopefully you did, anyway!

Comment on lines 7 to 8
tags:
- 'v*'
Copy link
Contributor

@ianmcorvidae ianmcorvidae Nov 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't use the v prefix for the tags in this repo -- https://github.com/meshtastic/python/tags

I imagine this should probably just build on any tag, or any three-part numeric thing that looks like a version number.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, I admit i didn't double check! I'll remove that and check.

And yes, I did test them as I actually needed the CLI without wanting to install everything :p

but the 'v*' is just a just an easy way to only do this (and publish) for tagged releases, I'll also double check if we can filter on 'digit(s).digit(s).digit(s) but I don't think so, as I would have probably added at least one digit after the 'v' so we could do
- '*.*.*' maybe?

.dockerignore Outdated
!extra/
!meshtastic/
!poetry.lock
!protobufs/
Copy link
Contributor

@ianmcorvidae ianmcorvidae Nov 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can go either way on this, but if this is just for running the CLI itself, we probably don't need to worry about including the protobufs folder. It's really only used as an input for the update-protobufs script that builds actual python stuff in meshtastic/protobuf. If you think it's more useful to include it I don't have a problem with it though.

@oliv3r oliv3r force-pushed the containerization branch 2 times, most recently from 875b7de to 02c11a3 Compare November 16, 2025 14:57
Just a quick set of files to enable the build of (tagged) containers.
Both alpine and debian containers are available (~200MiB/~1.2GiB)
allowing us to use meshtastic cli with a quick docker run, instead of
having to build/install stuff locally.
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ianmcorvidae ianmcorvidae ianmcorvidae requested changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /