From f7c865ff6585ee6622b53f3a32a299831a4c2506 Mon Sep 17 00:00:00 2001
From: Valentin Vautrot <valentin.vautrot@u-bourgogne.fr>
Date: Tue, 12 Sep 2023 22:44:16 +0200
Subject: [PATCH] Upload New File : definition file for python environment in
 full_wes pipeline 2.10.0

---
 Python3.11_wes.def | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 Python3.11_wes.def

diff --git a/Python3.11_wes.def b/Python3.11_wes.def
new file mode 100644
index 0000000..169dbe4
--- /dev/null
+++ b/Python3.11_wes.def
@@ -0,0 +1,18 @@
+Bootstrap: docker
+From: centos:8
+
+%help 
+# in progress
+This is a singularity container packing a python 3.11 environment with all the packages necessary to execute all the python scripts present in the pipeline full_wes 2.10.0
+Authors : valentin.vautrot@u-bourgogne.fr
+
+%post
+#preferably use dnf over yum now, but the mirror adresses are still in yum.repos.d
+sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
+sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
+
+dnf update -y --exclude=filesystem 
+# only if needed later :
+# dnf install -y epel-release
+
+dnf install -y python3.11-3.11-4-4
\ No newline at end of file
-- 
2.17.1