Generic Docker image for changing repository URL

Good morning, is it possible to inject the custom repository in any other way than by statically putting it into resolver.json file?

My use is that I’d like to build one generic Docker image referencing a custom repository using different URLs.

{
  "schema": "iglu:com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-1",
  "data": {
    "cacheSize": 500,
    "repositories": [
      {
        "name": "CUSTOM",
        "priority": 0,
        "vendorPrefixes": [ "com.custom" ],
        "connection": {
          "http": {
            "uri": "<WILL BE CHANGING>"
          }
        }
      }
    ]
  }
}

Regards, Norbert

you could create the file you need on the fly from a template during deployment

Thanks for the answer. I did so. The file is fetch dynamically in Dockerfile ENTRYPOINT