leeroybrun / glacier-vault-remove

Remove all archives stored inside an Amazon Glacier vault, even if you have a huge number of them.
379 stars 50 forks source link

Dockerfile installing incorrect version of boto #26

Closed stigok closed 7 years ago

stigok commented 7 years ago

Running the container as described in the readme produces following error

$: docker run -v $(pwd)/credentials.json:/app/credentials.json glacier-test eu-central-1 LIST
Traceback (most recent call last):
  File "/app/removeVault.py", line 10, in <module>
    import boto3
ImportError: No module named boto3

Dockerfile installs an earlier version of boto than the one being used by the python scripts. Expected version is boto3.

Proposing installing pip, then installing boto3 via pip.

leeroybrun commented 7 years ago

I merged your pull request, thanks!