Open jiacheng-0 opened 2 years ago
Hello @jiacheng-0 ,
It actually exists this -> https://github.com/duo-labs/cloudmapper#using-a-docker-container
Have you checked it out?
Cheers!
Hello @jiacheng-0 ,
It actually exists this -> https://github.com/duo-labs/cloudmapper#using-a-docker-container
Have you checked it out?
Cheers!
The container doesn't build... so far here's the errors I've seen:
python3.7-dev
isn't a package you can install in 3.7-slim
by default, there's likely some apt repos that are needed to be added to enable this.Then there's this:
ERROR: Cannot install -r requirements.txt (line 5) and urllib3==1.26.5 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested urllib3==1.26.5
botocore 1.17.6 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
So it looks like someone hasn't tested this enough.
After deleting python3.7-dev
from the apt install
in Dockerfile
and removing urllib3==1.26.5
from requirements.txt
I'm able to build the container... will edit if I get around to getting it to run (just playing with this tool on a whim)
AFAIK it works with the above changes, I'll PR the changes and you can decide for yourselves.
If it's something regarding conflicts or dependencies in the requirements.txt file, there are a lot of open issues about that. Check them as well, since this error:
The conflict is caused by:
The user requested urllib3==1.26.5
botocore 1.17.6 depends on urllib3<1.26 and >=1.20; python_version != "3.4"
Has already been fixed in other PRs, yet not merged.
Has already been fixed in other PRs, yet not merged.
Yes, that's 1 of 2 things I had to fix to get the container to build.
Please mention the following:
sudo apt-get install autoconf automake libtool python3.7-dev python3-tk jq awscli on Ubuntu 20.04 LTS (WSL)
No virtual env, just installation