aws / aws/aws-cli

External dependency on 'less' in AWS CLI 2.0.0

Open
#4,940 6 comments 15 reactions 0 assignees View on GitHub
bug dependencies p3 pager v2
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

My team uses a self-contained docker container for our AWS interactions. The container is a bare minimum install built from `python:latest`. In upgrading the container to use AWS CLI 2.0.0 today I discovered a dependency on the tool 'less'. While not an inconvenience in the grand scheme of things, this does run counter to the following statement in the install guide:

_"The AWS CLI version 2 has no dependencies on other software packages. It has a self-contained, embedded copy of all dependencies included in the installer. You no longer need to install and maintain Python to use the AWS CLI."_ (https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html)

```
root@4689ee68035a:/# aws sts get-caller-identity
[Errno 2] No such file or directory: 'less': 'less'
```

This error is resolved by installing `less`.

Are there other undocumented dependencies that I should install as part of my minimal container?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.