-
Story
-
Resolution: Unresolved
-
High
-
None
-
None
-
None
While setting up CI for ONAP in Gitlab. As part of it we're building images for Portal project. We've found few issues
Nexus portal image (portal-db:3.4.1) doesn't match
codebase:G & H release helm charts for portal refers portal-db:3.4.1 version. But when we try to build image from Guilin or 3.4.1 branch code, the image built for portal-db is giving trouble while deploying. When I pulled community image (portal-db:3.4.1) I don't see any issues.
For ex: ENTRYPOINT docker-entrypoint.sh is missing, which actually creates database. Missing of this gives database missing errors at deployment time.
To understand the issue with the one I build from code, I compared the image with Community image(portal-db:3.4.1), it was found that the manifest shows extra instructions which are not found in the Guilin codebase(Dockerfile.mariadb)
Attaching 3.4.1 manifest file and Guilin Dockerfile.mariadb for your reference to this jira (PFA). And the same is with portal-app also.
I want to understand which version of code should I build to get the same Docker image as portal-db:3.4.1 of onap nexus. Or is it really missing in the code ? Appreciate your help.