Merge pull request #7895 from ninjadq/fix_file_permission

Fix docker-compose file permmission
This commit is contained in:
Qian Deng 2019-09-02 15:13:18 +08:00 committed by GitHub
commit f12a45b1aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,4 +56,4 @@ def prepare_docker_compose(configs, with_clair, with_notary, with_chartmuseum):
if log_ep_host:
rendering_variables['external_log_endpoint'] = True
render_jinja(docker_compose_template_path, docker_compose_yml_path, **rendering_variables)
render_jinja(docker_compose_template_path, docker_compose_yml_path, mode=0o644, **rendering_variables)