[damned-lies/oscp] Make the python3-libxml2 library available for Python 3.9 as well
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies/oscp] Make the python3-libxml2 library available for Python 3.9 as well
- Date: Tue, 15 Jun 2021 09:00:24 +0000 (UTC)
commit c4e29099fec5b91b17e9d67980c7abdf6f66593f
Author: Andrea Veri <averi redhat com>
Date: Tue Jun 15 11:00:16 2021 +0200
Make the python3-libxml2 library available for Python 3.9 as well
httpd/Dockerfile | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/httpd/Dockerfile b/httpd/Dockerfile
index 7a384614..af77b493 100644
--- a/httpd/Dockerfile
+++ b/httpd/Dockerfile
@@ -25,6 +25,10 @@ ADD local_settings.py /l10n/damnedlies/damnedlies/local_settings.py
ADD l10n.gnome.org.conf /etc/httpd/conf.d/l10n.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]