summaryrefslogtreecommitdiffstats
path: root/policy-common/alpine
AgeCommit message (Collapse)AuthorFilesLines
2020-01-14Update docker images for java 11Jim Hahn3-204/+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-8/+13
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 Dragosh1-1/+1
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 Dragosh1-1/+1
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 Puzikov2-7/+23
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 Puzikov3-0/+183
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>