From: sebdet Date: Tue, 5 Jan 2021 10:54:01 +0000 (+0100) Subject: Upgrade robotframework docker image X-Git-Tag: 6.0.0~10 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F81%2F116581%2F2;p=policy%2Fclamp.git 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 --- 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