1
0
mirror of https://github.com/hegerdes/gitlab-actions.git synced 2025-10-06 05:36:52 +02:00

fix: add glibc for az-copy on alpine

Signed-off-by: Henrik Gerdes <hegerdes@outlook.de>
This commit is contained in:
Henrik Gerdes
2024-09-15 16:14:10 +02:00
parent 43bb5b4aa5
commit 26bf1f06a6

View File

@@ -291,6 +291,9 @@
if [ "$(uname -m)" = "aarch64" ]; then
ARCH="-arm64"
fi
if command -v apk > /dev/null; then
apk add --no-cache libc6-compat > /dev/null
fi
curl -sL https://aka.ms/downloadazcopy-v10-linux${ARCH} -o az-copy.tar
tar -xf az-copy.tar --strip-components=1 -C /usr/local/bin/
fi