diff options
author | 2020-03-23 12:42:03 -0400 | |
---|---|---|
committer | 2020-03-23 12:42:20 -0400 | |
commit | 19515ef4efae6452cfe1474ce226928fbdb872ed (patch) | |
tree | 840c3561db35d778d7c551bd7810ca07637a536c /conductor/docker/Dockerfile | |
parent | 3223debecc9f305c1ab43441a38c9a017ccfd431 (diff) |
Fix has docker build to conform to self-release
Change-Id: I27671db832cb85517bd7f7a0c587a9a02c2eec61
Signed-off-by: vrvarma <vikas.varma@att.com>
Issue-ID: OPTFRA-722
Diffstat (limited to 'conductor/docker/Dockerfile')
-rw-r--r-- | conductor/docker/Dockerfile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/conductor/docker/Dockerfile b/conductor/docker/Dockerfile index 9af6c23..c0c949b 100644 --- a/conductor/docker/Dockerfile +++ b/conductor/docker/Dockerfile @@ -47,9 +47,12 @@ RUN pip install --upgrade pip RUN apk add --virtual build-dependencies build-base linux-headers pcre-dev libffi-dev libxslt-dev libressl-dev RUN pip install uwsgi -RUN wget -O /opt/has.zip "https://nexus.onap.org/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.optf.has&a=optf-has-conductor&e=zip&v=${MVN_ARTIFACT_VERSION}" && \ - unzip -q -o -B /opt/has.zip -d /opt/has && \ - rm -f /opt/has.zip +#RUN wget -O /opt/has.zip "https://nexus.onap.org/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.optf.has&a=optf-has-conductor&e=zip&v=${MVN_ARTIFACT_VERSION}" && \ +# unzip -q -o -B /opt/has.zip -d /opt/has && \ +# rm -f /opt/has.zip + +COPY onap-has-tm/optf-has-conductor-${MVN_ARTIFACT_VERSION}.zip /tmp/optf-has.zip +RUN unzip -q -o -B /tmp/optf-has.zip -d /opt/has && rm -f /tmp/optf-has.zip #PKG-INFO file must also exists in the conductor folder (i.e. besides and inside the of_has.egg-info folder). The zip file for distro above is missing it RUN cp /opt/has/conductor/of_has.egg-info/PKG-INFO /opt/has/conductor |