Skip to content

Commit

Permalink
feat(scripts): run awscli install with passed arguments
Browse files Browse the repository at this point in the history
We have a rootless image we want to install awscli on, which requires
setting bin-dir and a couple other options.
  • Loading branch information
mloberg committed Oct 13, 2023
1 parent f46778b commit 348292a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/awscli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fi

curl -s "https://awscli.amazonaws.com/awscli-exe-linux-$(uname -m)-${AWSCLI_VERSION}.zip" -o /tmp/awscliv2.zip
unzip -q -d /tmp /tmp/awscliv2.zip
/tmp/aws/install
/tmp/aws/install "$@"
rm -rf /tmp/aws /tmp/awscliv2 /tmp/awscliv2.zip

if [ "$missing" != "" ]; then
Expand Down

0 comments on commit 348292a

Please sign in to comment.