aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2021-01-05 11:54:01 +0100
committerS�bastien Determe <sebastien.determe@intl.att.com>2021-01-05 10:59:00 +0000
commit6eb2caaf09c89e92ad65d2f55e792e92833b4ca9 (patch)
tree746dba67bb5cf8b5081e2b40a0247b7c3bf07da4
parentbfc36d8cb714661eb00ba805d7858872cbce5308 (diff)
Upgrade robotframework docker image
Upgrade the robot framework docker image used by the ITs so that it uses the python3 instead of the python2. Issue-ID: POLICY-2950 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I314feb5981a75678b4f51fa4637a0410f85b3fcc
-rw-r--r--src/test/resources/robotframework/Dockerfile12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/test/resources/robotframework/Dockerfile b/src/test/resources/robotframework/Dockerfile
index 4ae08208e..7e0bf8a26 100644
--- a/src/test/resources/robotframework/Dockerfile
+++ b/src/test/resources/robotframework/Dockerfile
@@ -1,9 +1,5 @@
-#FROM robotframework/rfdocker
-#
-#### Uncomment following two lines if having external test libraries:
-##COPY --chown=robot:robot requirements.txt .
-#RUN pip3 install --no-cache-dir -r requirements.txt
-#COPY *.robot /home/robot/atest
-FROM ppodgorsek/robot-framework:3.0.3
+FROM ppodgorsek/robot-framework:latest
+
+USER root
COPY requirements.txt .
-RUN pip install -r requirements.txt \ No newline at end of file
+RUN pip3 install --no-cache-dir -r requirements.txt \ No newline at end of file