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

fix: awscli arch is hardcoded (aarch64 broken) #370

Open
wants to merge 1 commit into
base: v2.8.1
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions docker/script/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,11 @@ dnf install -y nc
dnf install -y zip unzip bzip2 gzip # tar

# install awscli v2
zip_file="awscliv2.zip"
cd /tmp
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o $zip_file
unzip $zip_file
./aws/install
rm $zip_file
rm -rf ./aws
cd - # Return to previous directory
wget "https://awscli.amazonaws.com/awscli-exe-linux-$(uname -m).zip" -P /tmp
cd /tmp \
&& unzip awscli-exe-linux-$(uname -m).zip \
&& sudo -u airflow ./aws/install \
&& cd - \
&& rm -rf /tmp/*

dnf clean all