-
Notifications
You must be signed in to change notification settings - Fork 927
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UniversalPackages@0 fails in container job #108
Comments
@fgervais |
Thanks for reporting this. The Universal Package task currently depends on Artifact Tool which is part of the hosted tool cache, and it is indeed a .NET Core app, although it is self contained. The libraries that are missing are not .NET Core, they are libraries that .NET Core builds. We'll discuss how we want to approach this scenario on the Azure Artifacts team and respond to this thread. @TingluoHuang this is one of the differences between the Pipeline Artifacts artifact type and Universal Packages. The Pipeline Artifacts type depends on an agent plug-in which from what I understand does work in a container (will test). We didn't take that approach with Universal Packages. We might need to revisit that decision. |
At this point in time running the Universal Package task within a container only works if you install the dependencies that are required for .NET Core. This is a known issue that will require some design changes to overcome. For the time being if you use a container that is capable of running .NET Core then publishing or downloading a Universal Package should work. |
It seems I cannot run a UniversalPackages@0 task in a container job unless I add a bunch of dependencies to my container image.
I would assume the task to be self sufficient, no?
As an example, when trying to download a package I get:
The text was updated successfully, but these errors were encountered: