What is the best way to set fabric8/s2i-java image version in fmp? Maybe a property exists to override it? So far the only way I found is like in this example where image name, base image, assembly and env are needed.
Asked
Active
Viewed 188 times
1 Answers
2
You can easily set the base image of any fabric8-maven-plugin generator with the property fabric8.generator.from
and specify the full version here, too.
Alternatively, you can add it to the configuration of the generator itself. Assuming you are using spring-boot
, add this to your plugin configuration:
<configuration>
<generator>
<config>
<spring-boot>
<from>fabric8/s2i-java:2.0.0</from>
</spring-boot>
</config>
<generator>
</configuration>

Roland Huß
- 2,507
- 15
- 30