docker-compose for aws-init.sh does not include instructions for chmod +x
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.