this docker image allows you to run python3 scripts that require boto3 without having to install that module locally
-
you need to docker login to github's registry to be able to pull down docker images (even public ones)
this is how you would login (from github docs):
cat ~/TOKEN.txt | docker login https://docker.pkg.github.com -u USERNAME --password-stdin
-
add the function in .zshrc to your
$HOME/.zshrc
-
make your new changes effective:
source $HOME/.zshrc
-
run your python3 script like this:
boto3 your_script.py