Skip to content

Commit e8c6cfb

Browse files
committed
[ENH] Set PYTHONNOUSERSITE in containers [skip ci]\n\nThis env variable disables the user's local python distribution. Useful with Singularity which mounts /Users/oesteban by default.\n\nRef:https://neurostars.org/t/error-running-fmriprep-from-singularity-image/1639/2
1 parent 235e1b1 commit e8c6cfb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ RUN curl -sSLO https://repo.continuum.io/miniconda/Miniconda3-4.3.11-Linux-x86_6
102102

103103
ENV PATH=/usr/local/miniconda/bin:$PATH \
104104
LANG=C.UTF-8 \
105-
LC_ALL=C.UTF-8
105+
LC_ALL=C.UTF-8 \
106+
PYTHONNOUSERSITE=1
106107

107108
# Installing precomputed python packages
108109
RUN conda install -y mkl=2017.0.1 mkl-service; sync &&\

0 commit comments

Comments
 (0)