-
Notifications
You must be signed in to change notification settings - Fork 730
Closed
Description
Running Azure Artifacts Credential Provider in Docker was fine until this morning:
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build-env
RUN wget -qO- https://aka.ms/install-artifacts-credprovider.sh | sh
No version specified, using latest release.
Fetching versioned release install script from https://github.com/microsoft/artifacts-credprovider/releases/latest/download/installcredprovider.sh
Fetching release metadata from https://api.github.com/repos/microsoft/artifacts-credprovider/releases/latest
Validating script content with SHA256 checksum
Executing install script...
INFO: Calculated artifacts-credprovider RuntimeIdentifier: linux-x64
INFO: Creating the nuget plugin directory (i.e. /root/.nuget/plugins).
INFO: Downloading from https://github.com/Microsoft/artifacts-credprovider/releases/latest/download/Microsoft.linux-x64.NuGet.CredentialProvider.tar.gz
INFO: credential provider netcore plugin extracted to /root/.nuget/
Installation completed with exit code: 0
RUN dotnet restore -s https://api.nuget.org/v3/index.json -s $INTERNAL_NUGET_URL
Determining projects to restore...
Failed to load /root/.nuget/plugins/netcore/CredentialProvider.Microsoft/libhostpolicy.so, error: Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /root/.nuget/plugins/netcore/CredentialProvider.Microsoft/libhostpolicy.so)
An error occurred while loading required library libhostpolicy.so from [/root/.nuget/plugins/netcore/CredentialProvider.Microsoft/]
/usr/share/dotnet/sdk/8.0.417/NuGet.targets(174,5): error : Problem starting the plugin '/root/.nuget/plugins/netcore/CredentialProvider.Microsoft/CredentialProvider.Microsoft.dll'. Pipe is broken.
I've unblocked my teams by pinning the version in the Dockerfile, so we're working again:
ENV AZURE_ARTIFACTS_CREDENTIAL_PROVIDER_VERSION=v1.4.1
I couldn't see anything in the release notes that suggested we're doing something unsupported?
Is there a new prerequisite when running within an alpine image, for example?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels