X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric_robot_suite%2Fdocker%2Fric-robot%2FDockerfile;h=aa8e0a4179cfc5e1240cb7f31ec8896aa1896448;hb=cc685917b28444e6e9fc70f1a96b14e073d8cec7;hp=ea1b13e489ae4f18bbae1170cabb1256a8b7f5f4;hpb=b7b0c942ee2b18adb12c6d57b9db940f22f3e151;p=it%2Ftest.git diff --git a/ric_robot_suite/docker/ric-robot/Dockerfile b/ric_robot_suite/docker/ric-robot/Dockerfile index ea1b13e..aa8e0a4 100644 --- a/ric_robot_suite/docker/ric-robot/Dockerfile +++ b/ric_robot_suite/docker/ric-robot/Dockerfile @@ -31,12 +31,16 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone ENV BUILDTIME=true # Install Python, Pip, Robot framework, chromium, lighttpd web server + +# temporarily removed chromium-browser and chromium-chromedriver as +# they've moved to snaps and we don't have snapd support in this container +# yet. This will break robot tests that depend on the browser, but we don't +# have those in the RIC at this point anyway. + RUN apt-get update \ && apt-get install \ --no-install-recommends \ --assume-yes \ - chromium-browser \ - chromium-chromedriver \ dnsutils \ git \ gcc \ @@ -47,11 +51,9 @@ RUN apt-get update \ net-tools \ php \ php-cgi \ - python2.7 \ + python3-pip \ python-dev \ python-setuptools \ - python-wheel \ - python-pip \ python-redis \ unzip \ vim \ @@ -61,7 +63,7 @@ RUN apt-get update \ xxd -RUN pip install robotframework==3.0.4 \ +RUN pip3 install robotframework==3.0.4 \ && python --version # Copy the robot code