Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

executable permissions #12

Open
samd2 opened this issue May 22, 2019 · 0 comments
Open

executable permissions #12

samd2 opened this issue May 22, 2019 · 0 comments

Comments

@samd2
Copy link

samd2 commented May 22, 2019

Observed the following issue in testing:

"Creating a CodePipeline that builds a docker image from GitHub source, but the executable bits for the executables inside the repo are lost."
https://forums.aws.amazon.com/thread.jspa?threadID=235452

bin/rails will not run without executable permissions, and so it fails.

SOLUTION:
In the buildspec.yml file, right before "docker build", add this.

- chmod -R a+x bin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant