Related to #1784
We should offer a public Docker image with the CLI to let users run it without having to install any dependencies.
As discussed, I'll take this one 馃憤馃徎

Thoughts on including PowerShell in the image @waldekmastykarz? 馃
I'll create tags for latest, next and the current version 3.1, so we should look to include a new tag for each monthly release.
@shurick81 do you have any thoughts on including powershell in the image? Would this be useful?
An alternative image

Much smaller image, however at the moment you have to state the shell when starting the container, I think we might be able to add this to ENTRYPOINT however.
@garrytrinder I think it is an interesting idea but I don't know if CLI for Microsoft 365 is often used from PowerShell scripts. Is there such statistics? Will it add more weight on Ubuntu? If it does not add complexity/weight too much, I'd vote for having PowerShell. Especially it will be interesting when PnP PowerShell module becomes multi-platform...
@garrytrinder let's include PowerShell and ensure that we have proper config for command completion. It's best to provide options and allow everyone to use the image no matter which shell they work with.
As long as PowerShell is installed, users can override our entry point and start PowerShell instead of *sh.
Thanks for the comments @waldekmastykarz & @shurick81, I'll take a look. Downside to installing PowerShell is that will need to use the Ubuntu base image which significantly increases the size of the image, however from a UX perspective having everything available to use and configured reduces the friction in using the CLI.
There seem to be PowerShell images on alpine, like this one: https://github.com/PowerShell/PowerShell-Docker/blob/master/release/preview/alpine310/docker/Dockerfile. Shall we check if we could do the same?
Good find @waldekmastykarz 馃憤馃徎
Well done! I have tried it already and it works even better than I expected. Really great job!
Awesome, that's great news @shurick81 thank you 馃憤
Awesome @shurick81! Thank you for the kinds words! 馃憦
Most helpful comment
Well done! I have tried it already and it works even better than I expected. Really great job!