[TESTAPI] Add chown to allow start in openshift 89/72289/1
authormorganrol <morgan.richomme@orange.com>
Tue, 30 Mar 2021 05:50:38 +0000 (07:50 +0200)
committermorganrol <morgan.richomme@orange.com>
Tue, 30 Mar 2021 05:54:23 +0000 (07:54 +0200)
commitc90c2d4c2c05d119707ce566c9bb2312386d5a40
treeed692af9bee46e99efd9c3eecd98c5b16a981722
parent3d34da1191fabc6974ecbe170c09909578adffa4
[TESTAPI] Add chown to allow start in openshift

Some files of the testapi are located in system directories
- /etc/opnfv_testapi
- /usr/local/share/opnfv_testapi

it requires some root priviledge to execute them properly
especially in an openshift environment
this patch force the user right for these directories

another option could be to move these files in home directory
but so fare we are just changing the dockerization and did not
modify the code of the API.

Signed-off-by: morganrol <morgan.richomme@orange.com>
Change-Id: I7f9607f31e97d3bf8462ebe07fad0714aac47bdd
testapi/docker/Dockerfile