Skip to content

Commit ae79074

Browse files
committed
enable installing on azurelinux
1 parent cb4afc0 commit ae79074

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/validate-install-from-source.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,15 @@ jobs:
2929
- image: registry.suse.com/suse/sle15:15.4.27.11.31
3030
- image: archlinux
3131
- image: mcr.microsoft.com/cbl-mariner/base/core:2.0
32+
- image: mcr.microsoft.com/azurelinux/base/core:3.0
3233
container: ${{matrix.vector.image}}
3334
steps:
3435
- run: |
3536
if [[ ${{matrix.vector.image}} == *"suse"* ]]; then
3637
zypper -n install tar gzip
3738
elif [[ ${{matrix.vector.image}} == *"centos"* ]]; then
3839
dnf install which -y
39-
elif [[ ${{matrix.vector.image}} == *"mariner"* ]]; then
40+
elif [[ ${{matrix.vector.image}} == *"mariner"* || ${{matrix.vector.image}} == *"azurelinux"* ]]; then
4041
GNUPGHOME=/root/.gnupg tdnf update -y &&
4142
GNUPGHOME=/root/.gnupg tdnf install tar -y # needed for `actions/checkout`
4243
fi

src/linux/Packaging.Linux/install-from-source.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ case "$distribution" in
231231

232232
ensure_dotnet_installed
233233
;;
234-
mariner)
234+
mariner | azurelinux*)
235235
print_unsupported_distro "WARNING" "$distribution"
236236
$sudo_cmd tdnf update -y
237237

0 commit comments

Comments
 (0)