[Ubuntu] rework Microsoft repo installation (#5680)

This commit is contained in:
Mikhail Koliada
2022-06-03 13:48:40 +02:00
committed by GitHub
parent 36df9267d0
commit 9e4822e54e

View File

@@ -12,9 +12,7 @@ dpkg -i packages-microsoft-prod.deb
apt-get install -y apt-transport-https ca-certificates curl software-properties-common
# Install Microsoft GPG public key
curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
wget -qO - https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
# update