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.
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 asroot
which meansroot
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.