Fixes Bug 1436- docker/tests/Dockerfile cryptography dependencies
[osm/devops.git] / docker / tests / Dockerfile
index 4a8294c..901179f 100644 (file)
 FROM ubuntu:18.04
 
 RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install git software-properties-common \
-    curl xz-utils gnupg2 apt-transport-https make python3 debhelper python3-setuptools python3-pip apt-utils \
-    ssh iputils-ping libcurl4-openssl-dev libssl-dev python3-openstackclient
-RUN add-apt-repository -y ppa:rmescandon/yq && apt update && apt install yq -y
-RUN python3 -m pip install haikunator requests robotframework robotframework-seleniumlibrary \
+    curl xz-utils gnupg2 apt-transport-https make python3 debhelper python3-pip apt-utils \
+    ssh iputils-ping libcurl4-openssl-dev libssl-dev
+RUN add-apt-repository -y ppa:rmescandon/yq && apt-get update && apt-get install yq -y
+
+RUN python3 -m pip install --upgrade pip setuptools
+
+RUN DEBIAN_FRONTEND=noninteractive apt-get install -y cargo rustc
+
+RUN python3 -m pip install --ignore-installed pyyaml
+
+RUN python3 -m pip install --upgrade setuptools-rust haikunator requests robotframework robotframework-seleniumlibrary \
     robotframework-requests robotframework-jsonlibrary robotframework-sshlibrary charm-tools \
-    git+https://osm.etsi.org/gerrit/osm/IM.git git+https://osm.etsi.org/gerrit/osm/osmclient.git
+    python-openstackclient
+
+RUN python3 -m pip install git+https://osm.etsi.org/gerrit/osm/IM.git@v8.0 git+https://osm.etsi.org/gerrit/osm/osmclient.git@v8.0
 
 ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian
 ARG RELEASE=ReleaseEIGHT-daily