diff options
Diffstat (limited to 'testapi')
-rw-r--r-- | testapi/docker/Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testapi/docker/Dockerfile b/testapi/docker/Dockerfile index 7cc73ae..03b15e8 100644 --- a/testapi/docker/Dockerfile +++ b/testapi/docker/Dockerfile @@ -43,7 +43,9 @@ RUN apt-get update && apt-get install -y \ /usr/local/lib/python2.7/dist-packages/cas.py && \ cd /home/ubuntu/releng-testresults/testapi/ && python setup.py install && \ for i in /home/ubuntu/releng-testresults /etc/opnfv_testapi /usr/local/share/opnfv_testapi; do \ - mkdir -p $i && chown -R $user:$group $i; find $i -type f |xargs chmod 777; done && \ + mkdir -p $i && chown -R $user:$group $i && \ + find $i -type d |xargs chmod 777 && \ + find $i -type f |xargs chmod 666 ; done && \ apt-get remove --purge -y python-dev libxslt-dev zlib1g-dev && \ apt-get autoremove --purge -y && apt-get clean && rm -rf /var/lib/apt/lists/* WORKDIR /home/ubuntu/releng-testresults/testapi |