Fix cert deletion bug (malformed find command)
Summary
Pip installs fail due to a missing cert in certifi
Steps to reproduce
Attempt a pip install of any package
What is the current bug behavior?
bash-5.1$ . /opt/bitnami/airflow/venv/bin/activate
(venv) bash-5.1$ pip install pipdeptree
ERROR: Could not install packages due to an OSError: Could not find a suitable TLS CA certificate bundle, invalid path: /opt/bitnami/airflow/venv/lib/python3.11/site-packages/pip/_vendor/certifi/cacert.pem
What is the expected correct behavior?
(venv) bash-5.1$ pip install pipdeptree
Collecting pipdeptree
Downloading pipdeptree-2.16.1-py3-none-any.whl.metadata (15 kB)
Downloading pipdeptree-2.16.1-py3-none-any.whl (27 kB)
Installing collected packages: pipdeptree
Successfully installed pipdeptree-2.16.1
Relevant logs and/or screenshots
Provided above
Possible fixes
Update the find command to only delete files that have a parent directory or test
or tests
Tasks
-
Bug has been identified and corrected within the container
Please read the Iron Bank Documentation for more info