summaryrefslogtreecommitdiffstats
path: root/redhat/docker/el8/Dockerfile.x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/docker/el8/Dockerfile.x86_64')
-rw-r--r--redhat/docker/el8/Dockerfile.x86_644
1 files changed, 4 insertions, 0 deletions
diff --git a/redhat/docker/el8/Dockerfile.x86_64 b/redhat/docker/el8/Dockerfile.x86_64
index f2e00c95c..2bc43a412 100644
--- a/redhat/docker/el8/Dockerfile.x86_64
+++ b/redhat/docker/el8/Dockerfile.x86_64
@@ -32,6 +32,10 @@ RUN sed -i "rpmbuild.repo" -e "s|\${ARCH}|${ARCH}|g" -e "s|\${TDE_VERSION}|${TDE
# Fix utempter detection
RUN chmod a+r /usr/libexec/utempter/utempter
+# Fix python3.6 detection (tdebindings; kvirc)
+RUN ln -sfv python3.6m /usr/include/python3.6 \
+ && ln -sfv python3 /usr/bin/python
+
# Add non-root user to build packages
RUN useradd -m -s /bin/bash -u 1000 trinity \
&& echo "trinity ALL=(ALL) NOPASSWD: ALL" >>"/etc/sudoers"