Closed emjot13-dynatrace closed 1 year ago
Can you rename the script to oneagent_installer.sh
and put it in azure/linux-app-service/oneagent_installer.sh
? So if we will add more scripts to this repo it will be better categorized
Fixed in https://github.com/dynatrace-oss/cloud-snippets/commit/844b8f0baba5513f65c592509befd1b75076304f
Can you rename the script to
oneagent_installer.sh
and put it inazure/linux-app-service/oneagent_installer.sh
? So if we will add more scripts to this repo it will be better categorized
Wrote a bash script that detects which standard C library (musl/glibc) is used in the Azure Linux App Service container and then sets the DT_FLAVOR value accordingly.
It works in the following way:
ldd --version output
-> ldd is a utility that prints the shared libraries and it should contain information about libc/etc/os-release
file and check if it's an alpine based distro as the musl library is usually present in those.etc/alpine-release
is present for the same reason as before.