Skip to content

Bug report: bash: /etc/profile.d/bash_completion.sh: No such file or directory #6718

@strln0750

Description

@strln0750

Priority

(Low) Something is a little off

Description

I've downloaded the latest docker image via docker pull m365pnp/cli-microsoft365 and when I execute via: docker run --rm -it m365pnp/cli-microsoft365:latest I get the error message: bash: /etc/profile.d/bash_completion.sh: No such file or directory

I'm running this in a Debian 12 LXC container with Docker installed, I do see source /home/cli-microsoft365/.m365_comp/completion.sh being called, but as of yet I'm stumped any push in the right direction would help. Thank you!

Steps to reproduce

docker pull m365pnp/cli-microsoft365
docker run --rm -it m365pnp/cli-microsoft365:latest

Expected results

To see a powershell prompt >

Actual results

Dropped into the docker container's bash shell

Diagnostics

No response

CLI for Microsoft 365 version

"v10.7.0"

nodejs version

v20.8.1

Operating system (environment)

Linux

Shell

bash

cli doctor

No response

Additional Info

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions