diff options
author | Vijay Venkatesh Kumar <vv770d@att.com> | 2019-07-21 04:56:16 +0000 |
---|---|---|
committer | Vijay Venkatesh Kumar <vv770d@att.com> | 2019-07-21 04:56:22 +0000 |
commit | ae9e6686a97bfcefb429fefbe998a49af5fbc71c (patch) | |
tree | 92a0dbfebae817d1926f89d93ae12459d4d22041 | |
parent | 6c81c97b5cdd24fddee624fb5022a5d41e6313e5 (diff) |
remove docker binding from mvn
Change-Id: Ia0a665cb9d4f4dd75ac674d5ff1ff12044d52d45
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1578
-rw-r--r-- | pom.xml | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -210,9 +210,11 @@ <configuration> <serverId>${onap.nexus.dockerregistry.daily}</serverId> - <imageName>${docker.image.name}</imageName> + <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}</imageName> <imageTags> - <tag>latest</tag> + <imageTag>${project.version}-${maven.build.timestamp}Z</imageTag> + <imageTag>${project.version}</imageTag> + <imageTag>latest</imageTag> </imageTags> <baseImage>java:openjdk-8</baseImage> <user>sonhms</user> @@ -230,7 +232,7 @@ </resources> <runs> <!-- Maven is loosing file permissions during artifacts copy --> - <run>adduser --disabled-password sonhms </run> + <run>adduser --disabled-password sonhms </run> <run>chmod +x /bin/entrypoint.sh</run> <run>mv /bin/*.jar /bin/application.jar</run> <run>chmod -R 777 /bin</run> @@ -240,6 +242,7 @@ </exposes> <entryPoint>/bin/entrypoint.sh</entryPoint> </configuration> +<!-- <executions> <execution> <id>build-image</id> @@ -285,6 +288,7 @@ </configuration> </execution> </executions> +--> </plugin> </plugins> </build> |