>From https://wiki.onap.org/display/DW/Best+Practices
It feels like below is leaning towards scripts to build the images. Since having this firewall issue with farbric8 DMP, perhaps using scripts to build images should be the Recommendation rather than *TBD*. I am in a position where I will need to update pom.xml files in order to build cmso project behind a firewall until a final recommendation is determined. maven Many projects build images as part of the workflow of building application targets. While this provides some convenience, there are drawbacks. This approach tightly-couples the application build process with the container packaging process, perhaps unnecessarily so. Other projects provide shell scripts to build images. This has the benefit of separating the build and packaging steps Recommendation: TBD docker-maven-plugin There are currently several maven plugins in use by ONAP project teams. The spotify docker-maven-plugin is no longer recommended, as Spotify encourages the use of pre-written Dockerfiles, as opposed to generating a Dockerfile via plugin configuration. See https://github.com/spotify/docker-maven-plugin In addition, this plugin does not execute on all platforms, including Arm, and therefore should not be used. See https://github.com/spotify/docker-maven-plugin/issues/233 The spotify dockerfile-maven-plugin has the benefit of supporting a pre-written Dockerfile, but also has issues running on all platforms, and therefore should not be used (TBD - confirm details). Finally, the fabric8 docker-maven-plugin has been used successfully to build images, using explicit Dockerfiles, on multiple platforms. Recommendation: If one uses maven to build images, use the fabric8 docker-maven-plugin (v 0.28.0, as previous don't work on Arm) -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18323): https://lists.onap.org/g/onap-discuss/message/18323 Mute This Topic: https://lists.onap.org/mt/22455741/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
