-
Notifications
You must be signed in to change notification settings - Fork 124
Fix Solr docker image name for Azure Container Registry caching #833
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
Conversation
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
Minimum allowed line rate is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes a build failure in the Solr integration by updating the Docker image name to be compatible with Azure Container Registry caching. The change updates the image reference from "solr"
to "library/solr"
to follow the explicit namespace pattern required for official Docker images when using Azure Container Registry caching.
Key changes:
- Updated the Docker image name constant to include the explicit
library/
namespace prefix - Aligned the Solr integration with the established pattern used by other official Docker image integrations
The build was failing due to an incorrect docker image name for the Solr integration that doesn't work with Azure Container Registry caching.
Problem
The Solr integration was using
"solr"
as the image name, but for Azure Container Registry caching to work properly, official Docker images need to specify the explicitlibrary/
namespace.Solution
Updated
SolrContainerImageTags.cs
to change the image name from"solr"
to"library/solr"
.This follows the same pattern already established by other integrations that use official Docker images, such as Adminer which uses
"library/adminer"
. Images with organization namespaces (likeminio/minio
,eventstore/eventstore
) don't need this prefix since they already have an explicit namespace.Changes
Image
constant inSolrContainerImageTags.cs
from"solr"
to"library/solr"
This is a minimal change that addresses the root cause of the build failures without affecting any functionality.
Fixes #832.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
dnceng.pkgs.visualstudio.com
dotnet build src/CommunityToolkit.Aspire.Hosting.Solr/CommunityToolkit.Aspire.Hosting.Solr.csproj
(dns block)If you need me to access, download, or install something from one of these locations, you can either:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.