Issue-ID: OPTFRA-838
Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Change-Id: Idf960b4a80f37f4fc4ed542a586958509e42e0ff
chromium-chromedriver \
dnsutils \
git \
- gcc
-
+ gcc
+
+RUN groupadd onap \
+ && useradd -m -g onap onap
COPY /onap-cmso/robot /opt/cmso-robot/robot
COPY /onap-cmso/mocking /opt/cmso-robot/mocking
pip install robotframework-sshlibrary && \
pip install robotframework-requests
-### Start up the mock server for
+RUN chown -R onap:onap /opt/cmso-robot
+
+USER onap
+
+### Start up the mock server for
CMD ["/usr/bin/python", "/opt/cmso-robot/mocking/mock.py"]
### Use --entrypoint to override to run the tests test and exit