-
Notifications
You must be signed in to change notification settings - Fork 488
Closed
Description
The https://ghcr.io/devcontainers/features/aws-cli does not install less
which is a requirement for aws-cli
.
$ aws sts get-caller-identity
Unable to redirect output to pager. Received the following error when opening pager:
[Errno 2] No such file or directory: 'less'
Learn more about configuring the output pager by running "aws help config-vars".
Setting the envvar overrides the default, allowing the commands to work.
$ export AWS_PAGER=""
$ aws sts get-caller-identity
... output ...
So in my mind, either the less
dependency should be installed by the feature, or the envvar should be set to allow operation.
Yes, I realize this can be accomplished by adding less
to a Dockerfile, but that is not the solution one should have to arrive to after the feature fails to work.
The "correct" one ought to be to install less
instead of mucking with the user's env.
Metadata
Metadata
Assignees
Labels
No labels