The current installation method of spawning a child shell with bash -c $(curl ...) does not work for making the extra env vars available to the main CodeBuild Container's environment.
This changeset:
fixes the issue by capturing the curl-ed installer script in a file which can be executed by the top-level shell.
updates example buildspec.yml and README doc to reflect the fix
The current installation method of spawning a child shell with
bash -c $(curl ...)
does not work for making the extra env vars available to the main CodeBuild Container's environment.This changeset:
curl
-ed installer script in a file which can be executed by the top-level shell.