donovanmuller / spring-cloud-deployer-openshift

A Spring Cloud Deployer SPI implementation for OpenShift 3
http://blog.switchbit.io/spring-cloud-deployer-openshift
Apache License 2.0
4 stars 10 forks source link

Identify the Maven remote repository type dynamically #15

Closed donovanmuller closed 7 years ago

donovanmuller commented 7 years ago

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:

screen shot 2016-11-17 at 2 09 54 pm

donovanmuller commented 7 years ago

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.

donovanmuller commented 7 years ago

Will be superseded by #36.