-
Notifications
You must be signed in to change notification settings - Fork 108
Closed
Description
I see that azd is installed like this:
CloudShell/linux/base.Dockerfile
Lines 199 to 202 in a9a24d4
| # Install azure-developer-cli (azd) | |
| ENV AZD_IN_CLOUDSHELL=1 \ | |
| AZD_SKIP_UPDATE_CHECK=1 | |
| RUN curl -fsSL https://aka.ms/install-azd.sh | bash && \ |
But then the left overs are not cleaned up. I can see that azd is available twice:
# whereis azd
azd: /usr/local/bin/azdand in
# ls /opt/microsoft/azd/
azd-linux-amd64 .installed-by.txt NOTICE.txtYou can see that the sha of the two files is the same:
root [ / ]# sha256sum /usr/local/bin/azd
573b12448e7f89a97a906e31c5d916f255f1a3fdbe081926378af6597ab8c2a7 /usr/local/bin/azd
root [ / ]# sha256sum /opt/microsoft/azd/azd-linux-amd64
573b12448e7f89a97a906e31c5d916f255f1a3fdbe081926378af6597ab8c2a7 /opt/microsoft/azd/azd-linux-amd64The solution is to clean up /opt/microsoft/azd/ after installation.
Metadata
Metadata
Assignees
Labels
No labels