Skip to content

Commit

Permalink
A fix / work-around for Wayland Docker/Apptainer hosts (GitHub issue #…
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelzwiers committed Oct 30, 2024
1 parent 778cef8 commit 3352509
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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]
2 changes: 1 addition & 1 deletion apptainer.def
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 3352509

Please sign in to comment.