diff options
author | krishnaa96 <krishna.moorthy6@wipro.com> | 2021-06-24 16:12:32 +0530 |
---|---|---|
committer | krishnaa96 <krishna.moorthy6@wipro.com> | 2021-06-24 16:16:01 +0530 |
commit | abff9d4966b12beeafcf8366712d2e27555fd2a2 (patch) | |
tree | 8352661c14073f2fa9eef64e60e199fcc690c517 /pom.xml | |
parent | 1176c145328a61f314ccba63c4083d2d1990d4dc (diff) |
Remove unwanted components from image
Remove unwanted linux components from the
docker image and move the common parts to
osdf-base image
Issue-ID: OPTFRA-853
Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Change-Id: I1b2185781e187526bae114ad718c4758d373cee5
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -45,6 +45,7 @@ http://maven.apache.org/POM/4.0.0 "> <osdf.build.timestamp>${maven.build.timestamp}</osdf.build.timestamp> <osdf.project.version>${project.version}</osdf.project.version> <osdf.docker.repository>nexus3.onap.org:10003</osdf.docker.repository> + <osdf.base.image>osdf-base</osdf.base.image> <image.namespace>${osdf.docker.repository}/onap/optf-osdf</image.namespace> <opteng.namespace>${osdf.docker.repository}/onap/optf-opteng</opteng.namespace> </properties> @@ -112,6 +113,26 @@ http://maven.apache.org/POM/4.0.0 "> <apiVersion>1.23</apiVersion> <images> <image> + <name>${osdf.base.image}</name> + <alias>optf-base</alias> + <build> + <cleanup>true</cleanup> + <tags> + <tag>latest</tag> + </tags> + + <dockerFile>${project.basedir}/docker/osdf-lib-base/Dockerfile</dockerFile> + <assembly> + <descriptor>${project.basedir}/docker/osdf-lib-base/assembly/osdf-lib-files.xml</descriptor> + <name>onap-osdf-tm</name> + </assembly> + <args> + <MVN_ARTIFACT_VERSION>${project.version}</MVN_ARTIFACT_VERSION> + <REPO>${project.repo}</REPO> + </args> + </build> + </image> + <image> <name>${image.namespace}</name> <alias>optf-osdf</alias> <build> |