mirror of
https://github.com/actions/runner-images.git
synced 2025-12-17 23:28:57 +00:00
* [ubuntu] Rename build scripts * [ubuntu] Change reboot to inline shell * [ubuntu] Move disk space validation to pester tests * [ubuntu] Rename helper and tests files * [ubuntu] Changes to cleanup, post-deployment and r scripts
17 lines
613 B
Bash
17 lines
613 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: install-ms-repos.sh
|
|
## Desc: Install official Microsoft package repos for the distribution
|
|
################################################################################
|
|
|
|
LSB_RELEASE=$(lsb_release -rs)
|
|
|
|
# Install Microsoft repository
|
|
wget https://packages.microsoft.com/config/ubuntu/$LSB_RELEASE/packages-microsoft-prod.deb
|
|
dpkg -i packages-microsoft-prod.deb
|
|
|
|
# update
|
|
apt-get install -y apt-transport-https ca-certificates curl software-properties-common
|
|
apt-get -yq update
|
|
apt-get -yq dist-upgrade
|