microsoft / coe-starter-kit

Other
748 stars 221 forks source link

[BUG coe-cli] coe-cli docker image does not include PowerShell? #3679

Open coatsy opened 2 years ago

coatsy commented 2 years ago

Running the import pipelines step of coe alm install -f quickstart.json from the docker container throws an error pwsh not found

Steps to reproduce

  1. Took fresh clone from the microsoft/coe-starter-kit (github.com) and created the docker image.
  2. Ran the coe alm install -f quickstart.json command image
  3. Fresh container from same docker image. I have installed pwsh following this link inside the container https://docs.microsoft.com/en-us/powershell/scripting/install/install-alpine?view=powershell-7.2#installation-steps No errors observed while running the install command. Able to pass the pipelines step successfully. image

Expected behaviour

  1. Have PowerShell pre-installed in the docker container

Thanks @erviveksoni for the investigative work

chris-nguyen-MSFT commented 1 year ago

Thank you for this @coatsy ; the latest build of the docker image also didn't have the /src folder under /coe-cli

I had to clone the repo again in the container so I had access to the powershell script to import the pipelines.