GithubHelp home page GithubHelp logo

fsl-containers's People

Contributors

tashrifbillah avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fsl-containers's Issues

Path to conda not specified in docker image (cont)

Howdy,

This is a continuation of this issue: Path to conda not specified. Posting here in hopes that it might help someone else later on.

I've changed the following code to reflect the link tot he most current release of fsl (6.0.7.4)

# install FSL, -V 6.0.7.4, you are welcome to change it below RUN wget https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/releases/fslinstaller.py -O fslinstaller.py \ && python fslinstaller.py -V 6.0.7.4 -d $PWD/fsl-6.0.7.4-centos7

I've also changed the final RUN command to

RUN $FSLDIR/condabin/conda install -y -n fslpython -c conda-forge deprecation

When building the image I now get this error:

ERROR [5/5] RUN /root/fsl-6.0.7.4-centos7/condabin/conda install -y -n fslpython -c conda-forge deprecation 0.6s

[5/5] RUN /root/fsl-6.0.7.4-centos7/condabin/conda install -y -n fslpython -c conda-forge deprecation:
0.514 EnvironmentLocationNotFound: Not a conda environment: /root/fsl-6.0.7.4-centos7/envs/fslpython
0.514

Dockerfile.centos7:34

32 | # RUN $FSLDIR/fslpython/bin/conda install -y -n fslpython -c conda-forge deprecation==1.*
33 | # RUN $FSLDIR/condabin/conda install -y -n fslpython -c conda-forge deprecation==1.*
34 | >>> RUN $FSLDIR/condabin/conda install -y -n fslpython -c conda-forge deprecation

ERROR: failed to solve: process "/bin/sh -c $FSLDIR/condabin/conda install -y -n fslpython -c conda-forge deprecation" did not complete successfully: exit code: 1

I found the file path for the final RUN command by creating the docker image without the final line (since that was the one giving the error), running the image in a container, and looking through the file directory. The docker image builds properly, and the container runs properly, but the gui does not appear in the windows x server (VcXserv).

The following is from that process:

[root@245282c3752b ~]# ls
anaconda-ks.cfg fsl-6.0.7.4-centos7 fslinstaller.py

[root@245282c3752b ~]# ls fsl-6.0.7.4
ls: cannot access fsl-6.0.7.4: No such file or directory

[root@245282c3752b ~]# ls fsl-6.0.7.4-centos7
LICENCE.FSL bin compiler_compat condabin data envs fonts lib man phrasebooks plugins qml share src tcl var x86_64-conda_cos6-linux-gnu LICENSE.txt cmake conda-meta config doc etc include libexec mkspecs pkgs python sbin shell ssl translations x86_64-conda-linux-gnu

[root@245282c3752b ~]# ls fsl-6.0.7.4-centos7/condabin
conda mamba

[root@245282c3752b ~]# ls fsl-6.0.7.4-centos7/envs (envs is empty)

[root@245282c3752b ~]# Feat (This fails to find the display)

Your help is greatly appreciated!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.