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

docker-compose for aws-init.sh does not include instructions for chmod +x #562

Open
bluesmasterelf opened this issue Apr 6, 2023 · 0 comments

Comments

@bluesmasterelf
Copy link

When following the guide here https://docs.localstack.cloud/references/init-hooks/ to cause an initialization script to run on startup, the system produces an error
localstack | 2023-04-06T13:27:31.366 ERROR --- [ MainThread] localstack.runtime.init : Error while running script Script(path='/etc/localstack/init/ready.d/init-aws.sh', stage=READY, state=ERROR): [Errno 2] No such file or directory: '/etc/localstack/init/ready.d/init-aws.sh'

The doc indicates to run chmod +x on the file, but does not include a command for permissions management in the docker-compose or the cli sample. I ran a few dozen variations of the command in docker-compose to no avail. It seems strange that the docs indicate to copy a file into a volume that the initialization process doesn't have permission to access.

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