Uninstall application / Software after initializing docker container

Copper Contributor

I have a pipeline which initializes a docker container and the docker image has aws cli v1 installed. Here, I'm trying to uninstall v1 in order to install v2.


I tried the following command on my local machine and seems to be working but it doesn't seem to work inside container, it's just hanging..


$test = Get-WmiObject -Class Win32_Product | Where-Object {$_.Name -eq "AWS Command Line Interface"}
Does anyone have any ideas on how to uninstall application/programs inside containers in Azure Pipelines?
0 Replies