Fix ansible server build 23/117723/1
authorDan Timoney <djtimoney@att.com>
Wed, 10 Feb 2021 22:05:21 +0000 (17:05 -0500)
committerDan Timoney <dtimoney@att.com>
Wed, 10 Feb 2021 22:19:09 +0000 (17:19 -0500)
Ansible-server build is failing due to a change in python cryptography module,
which now requires latest rust compiler version to be installed.

Issue-ID: CCSDK-3151
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I36396c346c12cb432f696ae559d7f0b224c92a78

ansible-server/src/main/Dockerfile

index 9536a64..27eeb8a 100644 (file)
@@ -1,4 +1,4 @@
-FROM onap/integration-python:7.0.1
+FROM onap/integration-python:8.0.0
 
 LABEL maintainer="SDN-C Team (sdnc@lists.openecomp.org)"
 ARG PIP_TAG=18.0
@@ -19,6 +19,8 @@ RUN apk add --no-cache curl \
                        iputils \
                        bash \
                        openssh-client &&\
+    curl https://sh.rustup.rs -sSf | sh -s -- -y &&\
+    source $HOME/.cargo/env &&\
     apk add --no-cache --virtual .build-deps build-base \
                                              libffi-dev \
                                              openssl-dev \