Upgrade robotframework docker image 81/116581/2
authorsebdet <sebastien.determe@intl.att.com>
Tue, 5 Jan 2021 10:54:01 +0000 (11:54 +0100)
committerS�bastien Determe <sebastien.determe@intl.att.com>
Tue, 5 Jan 2021 10:59:00 +0000 (10:59 +0000)
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

src/test/resources/robotframework/Dockerfile

index 4ae0820..7e0bf8a 100644 (file)
@@ -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