How can I install azcopy and use it in my gitlab runner CI/CD script?
First I have two scripts that download the tar file and extract it.
- wget -O azcopy.tar.gz https://aka.ms/downloadazcopy-v10-linux
- tar -xf azcopy.tar.gz
However, if I try running executable ./azcopy_linux_amd64_10.1.0/azcopy I get an error saying /bin/sh: eval: line 102: ./azcopy_linux_amd64_10.1.0/azcopy: not found
I know this directory/file exists because I've ran ls commands.
I've also tried copying the binary to /usr/bin and/or /usr/local/bin but I still get the error: /bin/sh: eval: line 102: azcopy: not found
What am I doing wrong? How can I extract and run the executable, or otherwise install azcopy in my gitlab CI/CD script