[ceph-daemon] Use pip instead of apt to install OpenSSL for Python

Some Ceph mgr modules appear with unsatisfied dependencies when
OpenSSL for Python is installed via apt. Installing openssl-python
via pip instead resolves the dependency issues.

Change-Id: Ie7423b04b3d8d7ffdc9b3c31c3f5b62cb32d3e75
This commit is contained in:
Stephen Taylor
2023-04-27 13:43:17 -06:00
parent b43f2ef375
commit b7dcd5406c

View File

@@ -45,7 +45,6 @@ RUN set -ex ;\
curl \
python3 \
python3-dev \
python3-openssl \
uuid-runtime \
jq \
alien \
@@ -54,6 +53,7 @@ RUN set -ex ;\
pip3 --no-cache-dir install --upgrade --ignore-installed PyYAML ;\
pip3 --no-cache-dir install --upgrade --ignore-installed \
six \
openssl-python \
python-openstackclient \
python-swiftclient ;\
curl -sSL https://dl.k8s.io/v${KUBE_VERSION}/kubernetes-client-linux-amd64.tar.gz | tar -zxv --strip-components=1 ;\