mirror of
https://github.com/actions/runner-images.git
synced 2025-12-17 15:20:11 +00:00
[Ubuntu] rework Microsoft repo installation (#5680)
This commit is contained in:
@@ -12,9 +12,7 @@ dpkg -i packages-microsoft-prod.deb
|
|||||||
apt-get install -y apt-transport-https ca-certificates curl software-properties-common
|
apt-get install -y apt-transport-https ca-certificates curl software-properties-common
|
||||||
|
|
||||||
# Install Microsoft GPG public key
|
# Install Microsoft GPG public key
|
||||||
curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
|
wget -qO - https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
|
||||||
|
|
||||||
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
|
|
||||||
mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
|
mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
|
||||||
|
|
||||||
# update
|
# update
|
||||||
|
|||||||
Reference in New Issue
Block a user