[damned-lies/oscp-testing] Make the python3-libxml2 library available for Python 3.9 as well



commit c25d12d2b80fe529e4b89b015fd19f13d8f66713
Author: Andrea Veri <averi redhat com>
Date:   Tue Jun 15 11:00:41 2021 +0200

    Make the python3-libxml2 library available for Python 3.9 as well

 Dockerfile | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/Dockerfile b/Dockerfile
index ff2c0c03..00c3e6c0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -25,6 +25,10 @@ ADD local_settings.py /l10n/damnedlies/damnedlies/local_settings.py
 ADD l10n-testing.openshift.gnome.org.conf /etc/httpd/conf.d/l10n-testing.openshift.gnome.org.conf
 RUN chown -R l10n:l10n /l10n
 
+RUN ln -s /usr/lib64/python3.6/site-packages/libxml2.py /usr/lib64/python3.9/site-packages/libxml2.py && \
+    ln -s /usr/lib64/python3.6/site-packages/drv_libxml2.py /usr/lib64/python3.9/site-packages/drv_libxml2.py
+    ln -s /usr/lib64/python3.6/site-packages/libxml2mod.so /usr/lib64/python3.9/site-packages/libxml2mod.so
+
 USER l10n
 WORKDIR /l10n/damnedlies
 RUN python3.9 -m venv /l10n/venv && \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]