aws-cloudformation / cloudformation-cli-python-plugin

The CloudFormation Provider Development Toolkit Python Plugin allows you to autogenerate Python code based on an input schema.
Apache License 2.0
108 stars 47 forks source link

fixed docker folder permission issue #79

Closed richardhboyd closed 4 years ago

richardhboyd commented 4 years ago

Issue #, if available: https://github.com/aws-cloudformation/cloudformation-cli-python-plugin/issues/78

Description of changes: Explicitly tell Docker Run to run commands as the current user. Without this change, pip install ... -t ./build/ will run as root which means root owns the ./build/ folder and the subsequent CLI actions fail due to a permissions mismatch.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.