-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP][ENH] add Dockerfile for python version og GLM single #46
base: main
Are you sure you want to change the base?
Conversation
Common base for the matlab and python testing branch to minimize merge conflicts down the line
# Generated by: Neurodocker version 0.7.0+0.gdc97516.dirty | ||
# Latest release: Neurodocker version 0.8.0 | ||
# Timestamp: 2022/04/11 12:55:39 UTC | ||
# | ||
# Thank you for using Neurodocker. If you discover any issues | ||
# or ways to improve this software, please submit an issue or | ||
# pull request on our GitHub repository: | ||
# | ||
# https://github.com/ReproNim/neurodocker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is automatically generated via the Makefile
docker run --rm repronim/neurodocker:0.7.0 generate docker \ | ||
--base python:3.9.12-slim-buster \ | ||
--pkg-manager apt \ | ||
--install "build-essential" \ | ||
--copy glmsingle setup.py MANIFEST.in README.md requirements.txt /glmsingle/ \ | ||
--workdir /glmsingle \ | ||
--run "pip install ." \ | ||
--run "pip install jupyterlab" \ | ||
--expose 8888 \ | ||
--user neuro \ | ||
--workdir /home/neuro \ | ||
--copy examples /home/neuro/examples > Dockerfile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the neurodocker command to build the Dockerfile for GLMsingle
Hmm... I'm not sure what the action item is here. Perhaps earmark for a discussion soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- add doc explaining how to build and run the docker image
- add singularity image
Current problem when building the singularity def file: neurodocker related.
Issue raised: ReproNim/neurodocker#447
Will need to use a containerized version of glmsingle to build on top of so in case this is useful, here is how to do it for glmsingle alone.
Feel free to reject / close.
make Dockerfile
will create a Dockerfile for the python implementation using neurodockermake docker_build
will run 1 and then create the docker imagemake docker_run
will run 2 and then run the docker image and open jupyter lab to use itOnce again this is based on the same initial commit as #43 and #44
TODO
Currently the examples notebook cannot run and throw this error and
pip list
does showsGLMsingle 0.0.1