So we can use the correct default Dockerfile automatically.
Currently if a repository is a Nexus repository is used, you must indicate that the deployer should use the Dockerfile.nexus file instead of the default Dockerfile.artifactory which is the default.
One strategy would be to execute a HTTP request and inspect the response headers.
This should indicate which server is being used:
Instead of using a bundled Dockerfile, we should rather move to a S2I build mechanism to build images. This will replace the current Dockerfile solution.
So we can use the correct default
Dockerfile
automatically. Currently if a repository is a Nexus repository is used, you must indicate that the deployer should use theDockerfile.nexus
file instead of the defaultDockerfile.artifactory
which is the default.One strategy would be to execute a HTTP request and inspect the response headers. This should indicate which server is being used: