From be3398d9d8348d2c5ba9a683a6601f4da7016f3c Mon Sep 17 00:00:00 2001 From: Jack Lucas Date: Mon, 15 Feb 2021 19:19:40 -0500 Subject: [BOOTSTRAP] Fix docker image build problem Add installation of the Rust compiler to the Docker image build, to satisfy a dependency of the "cloudify" command line Python package. Issue-ID: DCAEGEN2-2628 Signed-off-by: Jack Lucas Change-Id: Ic3efee5fca1282b2c312aeb7989242046e987c71 --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 51c704c..b60863b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,8 +34,15 @@ RUN apk --no-cache add build-base libffi-dev openssl-dev curl bash RUN curl -Ssf -L "https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64" > /bin/jq \ && chmod +x /bin/jq +# Install rust (needed for "cryptography", needed for "cloudify" +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /rustinstall \ +&& chmod +x /rustinstall \ +&& /rustinstall -y + # Install pip and Cloudify CLI -RUN pip install cloudify==5.1.1 +RUN source /root/.cargo/env \ +&& pip install --upgrade pip \ +&& pip install cloudify==5.1.1 # Copy scripts RUN mkdir scripts -- cgit 1.2.3-korg