mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 11:37:00 +00:00
19 lines
642 B
Bash
19 lines
642 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: install-azcopy.sh
|
|
## Desc: Install AzCopy
|
|
################################################################################
|
|
|
|
# Source the helpers for use with the script
|
|
source $HELPER_SCRIPTS/install.sh
|
|
|
|
# Install AzCopy10
|
|
archive_path=$(download_with_retry "https://aka.ms/downloadazcopy-v10-linux")
|
|
tar xzf "$archive_path" --strip-components=1 -C /tmp
|
|
install /tmp/azcopy /usr/local/bin/azcopy
|
|
|
|
# Create azcopy 10 alias for backward compatibility
|
|
ln -sf /usr/local/bin/azcopy /usr/local/bin/azcopy10
|
|
|
|
invoke_tests "Tools" "azcopy"
|