diff options
author | Arun Arora <aroraarun@vmware.com> | 2017-10-23 14:33:51 +0530 |
---|---|---|
committer | Arun Arora <aroraarun@vmware.com> | 2017-10-23 14:33:51 +0530 |
commit | 65f7f6367cbab0765b32e1a0cf6b78cadcef18b7 (patch) | |
tree | fdfffb4903a80b73c3057c837587d3071f0e53a7 /vesagent/docker/Dockerfile | |
parent | 2df4c40a5a8682f651c56873ab1340a5f2df4831 (diff) |
VMWare vesagent docker build job fix
Fixes for docker daily build jenkins job failure
Modified the code to download the vesagent JAR
from nexus repo instead of building the code
and copy from the target directory
Change-Id: Ia6b303e7a39bc4bbef40d4caaca4dab401927d42
Issue-ID: MULTICLOUD-8
Signed-off-by: Arun Arora <aroraarun@vmware.com>
Diffstat (limited to 'vesagent/docker/Dockerfile')
-rw-r--r-- | vesagent/docker/Dockerfile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vesagent/docker/Dockerfile b/vesagent/docker/Dockerfile index 3b5b8e4..732a263 100644 --- a/vesagent/docker/Dockerfile +++ b/vesagent/docker/Dockerfile @@ -19,6 +19,10 @@ WORKDIR /opt # Copy the local opt directory contents into the container at /opt ADD opt /opt +#Download vesagent jar from nexus repo and place in /opt +RUN cd /opt/ && \ + wget -O /opt/vesagent-1.0.0-SNAPSHOT.jar 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.multicloud.openstack.vmware&a=vesagent&v=LATEST&e=jar' + # Install any needed packages specified in requirements.txt RUN pip install -r requirements.txt |