diff options
author | Jack Lucas <jflos@sonoris.net> | 2021-02-15 19:19:40 -0500 |
---|---|---|
committer | Jack Lucas <jflos@sonoris.net> | 2021-02-16 10:00:19 -0500 |
commit | be3398d9d8348d2c5ba9a683a6601f4da7016f3c (patch) | |
tree | 0f4d061cfc8595be3c14eb290774f4afd4066292 /Dockerfile | |
parent | 50887a105d9a68c54e35b41df35616c64e8cf631 (diff) |
[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 <jflos@sonoris.net>
Change-Id: Ic3efee5fca1282b2c312aeb7989242046e987c71
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |