Hi @siredmar,
that should be possible - I think @lluiscampos knows best which steps we need to set up the Docker hub repo, however an on the fly build should be almost as fast as downloading the image using something like:
It is not about the effort of publishing it on mender-cli, is more that we consider it to be an standalone tool and we only distribute it in its binary form (same as for mender-artifact, for example).
Can you elaborate a bit more on the use case for having mender-cli in a container? In which scenarios is this useful?
Hi @lluiscampos ,
the use case is simple. We build our yocto with concourse CI and i want to upload the mender artifact we build to mender.io. Thus i need mender-cli in a container. It would be nice if mender would provide and maintain this container image.
I’ll move forward this discussion internally in the team and take a decision. Same applies to mender-artifact, so I’ll keep both in mind when discussing.
Meanwhile you can use the snippet that @mzedel drafted above and publish your own image for your CI.
By the way, I didn’t know about Concourse CI, thanks!