I must integrate a 3rd party module into our containerized Docker solution. On my local dev it works well as I can download the image 3rdParty_file_name.tar on the disk and use it:
docker load --input .3rdParty_file_name.tar
The problem appears when I have to do the same in Azure Devops. How can I integrate the image 3rdParty_file_name.tar into the container build pipeline? I can’t upload the image because there’s a limitation of 10MB in the Azure DevOpsLibrarySecure files feature.
2
Answers
The other option with 0 cost was to upload the .tar file on an internal server, expose the public IP and use the Invoke-WebRequest command into the pipeline:
Azure Storage account is a good approach to remove the limitation of 10MB file size.
1.Upload your .tar to the container.
2.In your Azure Pipeline, you could use Azure CLI task to execute the az storage blob download command.
Script sample: