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

Running mwaa-local-runner on aarch64 and calling the aws cli will fail #358

Open
094459 opened this issue Feb 21, 2024 · 0 comments
Open

Comments

@094459
Copy link

094459 commented Feb 21, 2024

The current bootstrap.sh has the following line:

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o $zip_file

This means that during the creation of the build, the wrong aws cli binary image is used for aarch64. When attempting to run the aws cli, you will receive errors such as

/lib64/ld-linux-x86-64.so.2: No such file or directory

The fix is to update the bootstrap.sh file as follows:

if [[ $(uname -p) == "aarch64" ]]; then
  curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o $zip_file
else
  curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o $zip_file
fi
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