-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Feature Request: "minimal" package version #8317
Comments
Hi @r-heimann thanks for reaching out. I brought this feature request up for discussion with the team, and they recommended reaching out to the Amazon Linux team on GitHub with this request: https://github.com/amazonlinux/amazon-linux-2023. Several of the things you listed like |
|
Agreed. I just wrote a simple little entrypoint script for ECR to pull and format some secrets out of SecretsManager. I thought "My needs are simple, I'll just use the cli instead of writing something with the SDK". The AWS CLI alone added over 475MB to my container. 75% of my image is now just the AWS CLI, just so I can pull a secret from SecretsManager I don't want to run through ENV vars. Being able to just install just the parts I need would also be great, in my case I just need the SecretsManager commands. However, given the migration from For simple operations installing an entire development framework like Python or Ruby to utilize the SDKs shouldn't be the lighter weight option than using the purpose-built cli. [Edit] |
Using + dnf install -y awscli-2 --setopt=install_weak_deps=0
Package Repository Size
Installing:
awscli-2-2.14.5-1.amzn2023.0.1.noarch amazonlinux 11.2 MB
expat-2.5.0-1.amzn2023.0.3.aarch64 amazonlinux 114.8 kB
gdbm-libs-1:1.19-2.amzn2023.0.2.aarch64 amazonlinux 54.5 kB
libxcrypt-4.4.33-7.amzn2023.aarch64 amazonlinux 129.8 kB
python3-3.9.16-1.amzn2023.0.6.aarch64 amazonlinux 28.6 kB
python3-awscrt-0.19.19-1.amzn2023.0.1.aarch64 amazonlinux 1.6 MB
python3-cffi-1.14.5-1.amzn2023.0.3.aarch64 amazonlinux 252.0 kB
python3-colorama-0.4.4-2.amzn2023.0.2.noarch amazonlinux 33.8 kB
python3-cryptography-36.0.1-1.amzn2023.0.5.aarch64 amazonlinux 1.2 MB
python3-dateutil-1:2.8.1-3.amzn2023.0.2.noarch amazonlinux 296.1 kB
python3-distro-1.5.0-5.amzn2023.0.2.noarch amazonlinux 36.8 kB
python3-docutils-0.16-4.amzn2023.0.2.noarch amazonlinux 1.6 MB
python3-idna-2.10-3.amzn2023.0.2.noarch amazonlinux 95.4 kB
python3-jmespath-0.10.0-1.amzn2023.0.3.noarch amazonlinux 47.3 kB
python3-libs-3.9.16-1.amzn2023.0.6.aarch64 amazonlinux 7.6 MB
python3-pip-wheel-21.3.1-2.amzn2023.0.7.noarch amazonlinux 1.2 MB
python3-ply-3.11-11.amzn2023.0.2.noarch amazonlinux 105.8 kB
python3-prompt-toolkit-3.0.24-1.amzn2023.0.2.noarch amazonlinux 622.7 kB
python3-pycparser-2.20-3.amzn2023.0.2.noarch amazonlinux 128.2 kB
python3-pysocks-1.7.1-8.amzn2023.0.2.noarch amazonlinux 34.7 kB
python3-ruamel-yaml-0.16.6-5.amzn2023.0.2.aarch64 amazonlinux 193.9 kB
python3-ruamel-yaml-clib-0.1.2-6.amzn2023.0.2.aarch64 amazonlinux 137.4 kB
python3-setuptools-59.6.0-2.amzn2023.0.4.noarch amazonlinux 962.8 kB
python3-setuptools-wheel-59.6.0-2.amzn2023.0.4.noarch amazonlinux 517.5 kB
python3-six-1.15.0-5.amzn2023.0.2.noarch amazonlinux 37.2 kB
python3-urllib3-1.25.10-5.amzn2023.0.3.noarch amazonlinux 178.6 kB
python3-wcwidth-0.2.5-3.amzn2023.0.2.noarch amazonlinux 41.9 kB
tzdata-2024a-1.amzn2023.0.1.noarch amazonlinux 440.8 kB
Transaction Summary:
Installing: 28 packages @tim-finnigan it would be great if you could reduce the size of AWS-CLI2 (or a future 3?). Both in filesize and package dependencies. Something like this would be lovely: |
Describe the feature
It would be great if there would be somekind of "minimal" package, which only installs the absolut minimum in order to use AWS-CLI2. Using the new
Amazon Linux 2023 Minimal Container image
a crapton of stuff is being installed, which AWS-CLI2 has as dependencies:Details
Use Case
Less is more?
Acknowledgements
CLI version used
awscli-2-2.9.19-1.amzn2023.0.1.noarch
Environment details (OS name and version, etc.)
Amazon Linux 2023 Minimal Container image
The text was updated successfully, but these errors were encountered: