X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=docker%2Ftests%2FDockerfile;h=18ebe8e7ea45571b27d739f79869f813b63f97e2;hb=refs%2Fchanges%2F53%2F10453%2F3;hp=07a46cfd30e30f76c74c8190567218bea71cb024;hpb=fa81f28edaf5962fbc034ddcf783c4298573500b;p=osm%2Fdevops.git diff --git a/docker/tests/Dockerfile b/docker/tests/Dockerfile index 07a46cfd..18ebe8e7 100644 --- a/docker/tests/Dockerfile +++ b/docker/tests/Dockerfile @@ -17,11 +17,24 @@ 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 + ssh iputils-ping libcurl4-openssl-dev libssl-dev python3-yaml \ + build-essential libssl-dev libffi-dev python3-dev RUN add-apt-repository -y ppa:rmescandon/yq && apt update && apt install yq -y -RUN python3 -m pip install haikunator requests robotframework robotframework-seleniumlibrary \ + +RUN python3 -m pip install --upgrade pip + +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y cargo rustc + +RUN python3 --version && python3 -m pip --version +RUN rustc --version && cargo --version + +RUN python3 -m pip install --upgrade setuptools setuptools-rust + +RUN python3 -m pip install --ignore-installed pyyaml + +RUN python3 -m pip install --upgrade haikunator requests robotframework robotframework-seleniumlibrary \ robotframework-requests robotframework-jsonlibrary robotframework-sshlibrary charm-tools \ - verboselogs pyangbind + verboselogs pyangbind python-openstackclient ARG REPOSITORY_BASE=http://osm-download.etsi.org/repository/osm/debian ARG RELEASE=ReleaseNINE-daily @@ -43,6 +56,7 @@ RUN mv /usr/share/osm-tests/charm.sh /usr/sbin/charm WORKDIR /robot-systest +ARG CACHE_DATE=2021-03-01 RUN git clone https://osm.etsi.org/gitlab/vnf-onboarding/osm-packages.git --recurse-submodules /robot-systest/osm-packages # Folder where Robot tests are stored