Skip to content

DiscreteTom/auto-q

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

auto-q

Run Amazon Q Developer CLI in a Docker container for automation.

Disclaimer

This project is not affiliated with Amazon or any of its subsidiaries. It is an independent project created to facilitate the use of Amazon Q Developer CLI in a Docker environment.

Usage

Build

Important

You may need to re-build the Docker image in a regular basis to ensure you have the latest version of Amazon Q Developer CLI.

docker build -t auto-q .

Run

Make sure you have logged in to Amazon Q Developer CLI using q login and have your AWS credentials configured in ~/.aws/credentials and ~/.aws/config on your host machine. The container will mount these credentials to authenticate with AWS services.

docker run -it \
  -v "${HOME}/.aws/credentials:/root/.aws/credentials:ro" \
  -v "${HOME}/.aws/config:/root/.aws/config:ro" \
  -v "${HOME}/.aws/amazonq:/root/.aws/amazonq:rw" \
  -v "${HOME}/.local/share/amazon-q:/root/.local/share/amazon-q:rw" \
  -e AWS_PROFILE \
  -e AWS_REGION \
  -e TZ \
  auto-q "who are you"

Credits

Inspired by:

About

Run Amazon Q Developer CLI in a Docker container for automation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published