Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 6 additions & 1 deletion src/aws-cli/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "aws-cli",
"version": "1.1.2",
"version": "1.1.3",
"name": "AWS CLI",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/aws-cli",
"description": "Installs the AWS CLI along with needed dependencies. Useful for base Dockerfiles that often are missing required install dependencies like gpg.",
Expand All @@ -12,6 +12,11 @@
],
"default": "latest",
"description": "Select or enter an AWS CLI version."
},
"verbose": {
"type": "boolean",
"default": true,
"description": "Suppress verbose output."
}
},
"customizations": {
Expand Down
8 changes: 7 additions & 1 deletion src/aws-cli/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ set -e
rm -rf /var/lib/apt/lists/*

VERSION=${VERSION:-"latest"}
VERBOSE=${VERBOSE:-"true"}

AWSCLI_GPG_KEY=FB5DB77FD5C118B80511ADA8A6310ACC4672475C
AWSCLI_GPG_KEY_MATERIAL="-----BEGIN PGP PUBLIC KEY BLOCK-----
Expand Down Expand Up @@ -110,7 +111,12 @@ install() {
exit 1
fi

unzip "${scriptZipFile}"
if [ "${VERBOSE}" = "false" ]; then
unzip -q "${scriptZipFile}"
else
unzip "${scriptZipFile}"
fi

./aws/install

# kubectl bash completion
Expand Down
Loading