From 6eb2caaf09c89e92ad65d2f55e792e92833b4ca9 Mon Sep 17 00:00:00 2001 From: sebdet Date: Tue, 5 Jan 2021 11:54:01 +0100 Subject: 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 Change-Id: I314feb5981a75678b4f51fa4637a0410f85b3fcc --- src/test/resources/robotframework/Dockerfile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/test/resources') 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 -- cgit 1.2.3-korg