From 0ba7a10196e273e6f639a82327c125351b4beba8 Mon Sep 17 00:00:00 2001
From: Moritz Maxeiner <mm@ucw.sh>
Date: Fri, 13 Dec 2019 14:57:32 +0100
Subject: [PATCH] centos-7: Add pylon to LD_LIBRARY_PATH

---
 centos-7/Dockerfile    | 1 +
 centos-7/bash/pylon.sh | 1 +
 2 files changed, 2 insertions(+)
 create mode 100644 centos-7/bash/pylon.sh

diff --git a/centos-7/Dockerfile b/centos-7/Dockerfile
index 9ac7d57..22e968a 100644
--- a/centos-7/Dockerfile
+++ b/centos-7/Dockerfile
@@ -286,6 +286,7 @@ RUN version=5.2.0.13457 && \
     mv pylon5 /opt/pylon5 && \
     cd .. && \
     rm -rf pylon-${version}*
+ADD bash/pylon.sh /etc/profile.d/pylon.sh
 
 # SSL access to custom pypiserver
 ADD agki-nas01.imp.fu-berlin.de-ca-cert.crt /etc/pki/ca-trust/source/anchors/agki-nas01.imp.fu-berlin.de-ca-cert.crt
diff --git a/centos-7/bash/pylon.sh b/centos-7/bash/pylon.sh
new file mode 100644
index 0000000..305ebeb
--- /dev/null
+++ b/centos-7/bash/pylon.sh
@@ -0,0 +1 @@
+export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/pylon5/lib64"
-- 
GitLab