diff options
author | krishnaa96 <krishna.moorthy6@wipro.com> | 2021-02-17 18:29:56 +0530 |
---|---|---|
committer | krishnaa96 <krishna.moorthy6@wipro.com> | 2021-02-17 18:30:41 +0530 |
commit | d14542ee50acfd98548c42f55ec67731ec26e42d (patch) | |
tree | ae8263ccdfc37ff793d48344d794da399fdb35fe | |
parent | 277acfa614cd612df1b4eaf9577460c7da8dffd8 (diff) |
Fix failing docker build
Docker build is failing while installing
cryptography. Disabling rust solves the
issue
Issue-ID: OPTFRA-908
Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Change-Id: I9af528fee652b8d0d80914a6b8b166bbf7b1d1bd
-rw-r--r-- | conductor/docker/Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/conductor/docker/Dockerfile b/conductor/docker/Dockerfile index 027f383..167aa11 100644 --- a/conductor/docker/Dockerfile +++ b/conductor/docker/Dockerfile @@ -15,7 +15,7 @@ # # ------------------------------------------------------------------------- -FROM nexus3.onap.org:10001/onap/integration-python:7.0.1 +FROM nexus3.onap.org:10001/onap/integration-python:8.0.0 ARG MVN_ARTIFACT_VERSION @@ -52,6 +52,8 @@ RUN apk --update add unzip && \ 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 +ENV CRYPTOGRAPHY_DONT_BUILD_RUST "1" + #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 RUN pip install --no-cache-dir -e /opt/has/conductor |