aboutsummaryrefslogtreecommitdiffstats
path: root/policy-base
AgeCommit message (Collapse)AuthorFilesLines
2020-01-14Update docker images for java 11Jim Hahn4-245/+0
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
2019-09-05Multiplatform support for policyPaul Vaduva2-10/+14
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>
2019-05-31Bump docker 1.5.05.0.0-ONAPPamela Dragosh2-2/+2
Due to dublin branch. Also update the configuration for CSIT tests. Issue-ID: POLICY-1747 Change-Id: Ifb8f89f12b534543a5bded0a6f673c44f857b761 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-01Upgrade parent and bump snapshotPamela Dragosh2-2/+2
The version for this wasn't quite correct either. Fixed to ensure follows the 1.4.x as defined in version.properties. Updated to point to policy/parent release version and remove warning for relative path. Issue-ID: POLICY-1700 Change-Id: I6772a272f3f291af5fd6ee9efc3f10b0ac3edfd1 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-04-02Add licence headers, fix notesDmitry Puzikov3-5/+22
Change-Id: I7664605a55554caad347c13d159908537b7c4fb0 Issue-ID: INT-996 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-03-27Base and common images for Policy appsDmitry Puzikov4-0/+224
Alpine based base and common images to use across Policy project Change-Id: I01d504b48ee361d1751dfa982e1515705b9e343e Issue-ID: INT-996 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2018-03-05Remove policy-os and policy-base imagesmmis1-13/+0
Remove the policy-os and policy-base images in favour of including their contents directly in the policy-pdp and policy-pe images Issue-ID: POLICY-624 Change-Id: Ie4ef62d5a7fc0edb481be13891ee12cf9271674c Signed-off-by: mmis <michael.morris@ericsson.com>
2017-03-30update Dockerfile to onapPamela Dragosh1-1/+1
Change-Id: I9c5229cdc79a7dfc5f74d919c58aa579084fef55 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-03-08changing to different mirrorPamela Dragosh1-1/+1
Change-Id: I193f3938f309ca17602034c079073eafb2dea601 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-03-08apt-get clean to get past timeoutsPamela Dragosh1-1/+2
Change-Id: I2774e29a928f17a3003f151822b6c17febfe08c0 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-02-20no hardcode nexusPamela Dragosh1-1/+1
Change-Id: I72f0c02e7d3b8a72502efa5e383b8e44c28d516b Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-02-14Initial OpenECOMP policy/docker commitPamela Dragosh1-0/+12
Change-Id: Ib37c3693614ee21a78f838e63eb40319cc85bdc6 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>