X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=docker%2Ftests%2FDockerfile;h=023bd849d4235fde1d909ebae5db3834bdab0ce9;hb=refs%2Fchanges%2F26%2F10326%2F2;hp=b475d1ad34119ab6037362f827af0e7918e268b4;hpb=52dd2962119db74f9d259a76fdf8502345e9fe38;p=osm%2Fdevops.git diff --git a/docker/tests/Dockerfile b/docker/tests/Dockerfile index b475d1ad..023bd849 100644 --- a/docker/tests/Dockerfile +++ b/docker/tests/Dockerfile @@ -17,17 +17,32 @@ 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=ReleaseEIGHT-daily +ARG RELEASE=ReleaseNINE-daily ARG REPOSITORY_KEY=OSM%20ETSI%20Release%20Key.gpg ARG REPOSITORY=testing ARG TESTS_VERSION +ARG IM_VERSION +ARG OSMCLIENT_VERSION RUN curl ${REPOSITORY_BASE}/${RELEASE}/${REPOSITORY_KEY} | apt-key add - RUN add-apt-repository -y "deb ${REPOSITORY_BASE}/${RELEASE} ${REPOSITORY} tests osmclient IM" && apt-get update