aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-08-22 08:06:46 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-22 08:06:46 +0000
commit3367c03a2ff39f148e55576a8b4fa0418dd4c041 (patch)
treee7a62b14eb69ce164cac5cd6eef7c4ed3e8d919d /docker
parent9702e358bc92cb2a3f57d78d61cb2ff5a3379622 (diff)
parent535af95d7d22b1781f21e0483a8d16733d511ab8 (diff)
Merge "Protect again changes of unix permissions"
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index ce3f4ce5..a14bdc44 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -92,6 +92,9 @@ RUN pip install -r ${repos_dir}/functest/docker/requirements.pip
RUN pip install -r ${repos_dir}/rally/requirements.txt
RUN pip install -r ${repos_dir}/tempest/requirements.txt
+RUN find ${repos_dir}/functest -name "*.py" |xargs grep __main__ |cut -d\: -f 1 |xargs chmod -c 755
+RUN find ${repos_dir}/functest -name "*.sh" |xargs grep \#\! |cut -d\: -f 1 |xargs chmod -c 755
+
RUN /bin/bash ${repos_dir}/parser/tests/parser_install.sh ${repos_dir}
RUN ${repos_dir}/rally/install_rally.sh --yes