Description
Description
I feel like this must have been something that has been requested or asked about before but why is there no option to target a remote Dockerfile. There seems to be options for targeting remote build contexts and even remote docker bake configurations but not for the Dockerfile itself. Is this by design?
My use case is that I want to maintain a centralised Dockerfile across multiple similar microservices. I then want to specify the configuration differences via a docker bake file contained in the microservices themselves. However the one downside to this is that it means developers are restricted from building locally unless they clone down the repo where the centralised dockerfile is maintained and make sure to update it and keep it at a consistent path. It also doesn't allow for versioning like a remote reference would with the #ref:dir
syntax