I'm going to create a Docker image based on ubuntu:18.04 image.
There are some python packages listed in a requirements.txt
file which should be installed in the image.
reportlab==2.7
newrelic==2.98.0.81
pympler==0.4.3
unidecode
python-dateutil
git+ssh://git@bitbucket.org/myproject/myprojects-tools.git@master
The command to install them is:
pip install -r requirements.txt
In the last line when it tries to fetch files from the defined repository, it failes, because the key is not installed in the image.
Is it good idea to put the key inside the image or there are better ideas?