Age | Commit message (Collapse) | Author | Files | Lines |
|
Issue-ID: POLICY-2598
Change-Id: I233e235ad22a4acda3d53060eae6cec454dec1a1
Signed-off-by: RossC <ross.carter@est.tech>
|
|
Added debian-slim images based off of jre-slim.
Removed alpine images from the build.
If it's determined that we need a jdk instead of a jre, then
"jre" can be changed to "jdk" in the policy-base Dockerfile.
As an alternative, a new policy-docker-jdk image could be created,
based off of "jdk" and all of the apt packages added to it. In that
case, it would probably be appropriate to removed maven from the
packages that are loaded into the policy-common image.
Addressed first round of review comments:
- use specific version of java 11
- removed docker-maven-plugin version
- replaced the images with policy-jre-debian and policy-jdk-debian
- added a policy-jdk-alpine image, which includes the jdk & maven, but
is significantly smaller than the debian-slim version
- added a policy-jre-alpine image
Addressed additional review comments:
- removed BUILD_VERSION
- installed maven packages instead of downloading via curl
- added link to /usr/lib/jvm
Issue-ID: POLICY-1586
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: I43fd6a5c5ff9c4a0b537d3f297fdf2ad8248ba75
|
|
The release tag should not be pushed during the development cycle
(by the stage or merge jobs). Only the release jobs should push this tag
Issue-ID: POLICY-1997
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Change-Id: I23b317f37ad9fc3a03c5d9847f5baf7d0bf1852f
|
|
Add multiplatfrom support for policy-base
and policy-common docker images:
- the pom.xml files are modified to push and pull from dockerhub instead
of nexus repository (as nexus lacks support for manifest list)
- for each image that is built with maven, an arch suffix is added to the
tag. The currently supported architectures are amd64 and arm64.
- the creation of the timestamped tag is moved from the pom.xml files to
the docker_push_manifest.sh script
- for each image built via the Jenkins CI jobs, the docker_push_manifest.sh
is called. The script pushes a manifest list for each tag, plus it
creates the timestamp tags for SNAPSHOT or STAGING images,
depending on what job called the script (merge job, or stag job)
For using the images, the name of the manifest list is to be used (which
is the same as the current images in nexus)
Issue-ID: POLICY-1997
Change-Id: If54e7ee6ac432a999844d3584e146a90e2247323
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|