From 3352509bcc4830d6ee3999741b05e502984b7875 Mon Sep 17 00:00:00 2001 From: Marcel Zwiers Date: Wed, 30 Oct 2024 12:19:37 +0100 Subject: [PATCH] A fix / work-around for Wayland Docker/Apptainer hosts (GitHub issue #242) --- Dockerfile | 2 +- apptainer.def | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1e84c4d7..3777a12d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,5 +41,5 @@ ENV FSLDIR=/opt/fsl FSLOUTPUTTYPE=NIFTI_GZ \ # First install pyqt as Debian package to solve dependencies issues occurring when installed with pip # Then install the latest stable BIDScoin release (add build-essential for newer python:3-slim base images (pip needs gcc)) -RUN apt update && apt -y --no-install-recommends install pigz curl python3-pyqt6 build-essential libgl1 libxcb-cursor0 && apt clean; \ +RUN apt update && apt -y --no-install-recommends install pigz curl python3-pyqt6 build-essential libgl1 libxcb-cursor0 dbus && apt clean; \ pip install bidscoin[spec2nii2bids,deface] diff --git a/apptainer.def b/apptainer.def index 455cb4e9..858e78d4 100644 --- a/apptainer.def +++ b/apptainer.def @@ -78,7 +78,7 @@ Stage: final # Pre-install essential packages # NOTE: PyQt is installed as Debian package to solve dependencies issues occurring when installed with pip - apt -y --no-install-recommends install python3-pyqt6 build-essential libgl1 libxcb-cursor0 && apt clean # Add build-essential for newer python:3-slim base images (pip needs gcc) + apt -y --no-install-recommends install python3-pyqt6 build-essential libgl1 libxcb-cursor0 dbus && apt clean # Add build-essential for newer python:3-slim base images (pip needs gcc) # Install BIDScoin # pip install /opt/bidscoin[spec2nii2bids,deface]