Add Ubuntu-Slim image definition (#13423)

Add ubuntu-slim image definition
This commit is contained in:
Mike Tesch
2025-12-12 15:03:34 -05:00
committed by GitHub
parent 0e731c96a0
commit eee0743413
43 changed files with 1974 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
#!/bin/bash -e
################################################################################
## File: install-ms-repos.sh
## Desc: Install official Microsoft package repos for the distribution
################################################################################
os_label=$(lsb_release -rs)
# Install Microsoft repository
wget https://packages.microsoft.com/config/ubuntu/$os_label/packages-microsoft-prod.deb
dpkg -i packages-microsoft-prod.deb
# update
apt-get install apt-transport-https ca-certificates curl software-properties-common
apt-get update
apt-get dist-upgrade