Skip to content

Commit

Permalink
checkout repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Sep 16, 2023
1 parent e97eb32 commit b9e02d4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
steps:
- attach_workspace:
at: /tmp/workspace
- checkout
- run: docker load -i /tmp/workspace/docker/image.tar
- run:
name: push to dockerhub
Expand Down
5 changes: 3 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ docker images
The Dockerfile used to create the image stored on DockerHub is available at the root of the repository ([Dockerfile](Dockerfile)). But you might want to personalize this Dockerfile. To do so, change the command below that will generate a new Dockerfile:

```bash
docker run --rm repronim/neurodocker:0.9.5 generate docker \
neurodocker generate docker \
--base-image centos:7 --pkg-manager yum \
--yes \
--install git \
Expand All @@ -61,8 +61,9 @@ The Dockerfile used to create the image stored on DockerHub is available at the
--spm12 version=r7771 method=binaries \
--miniconda method=binaries \
version=latest \
mamba=true \
conda_install="python=3.10 pip=23.2.1" \
pip_install="traits==6.3.0 jupyterlab-4.0.6 graphviz-0.20.1 nipype==1.8.6 scikit-image==0.21.0 matplotlib==3.8.0 nilearn==0.10.1" \
pip_install="traits==6.3.0 jupyterlab==4.0.6 graphviz==0.20.1 nipype==1.8.6 scikit-image==0.21.0 matplotlib==3.8.0 nilearn==0.10.1" \
--run 'mkdir -p ~/.jupyter && echo c.NotebookApp.ip = \"0.0.0.0\" > ~/.jupyter/jupyter_notebook_config.py' > Dockerfile
```

Expand Down
18 changes: 4 additions & 14 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
.PHONY: Dockerfile

Dockerfile:
docker run --rm repronim/neurodocker:0.9.5 generate docker \
--base-image centos:7 --pkg-manager yum \
--yes \
--install git \
--ants method=binaries version=2.4.3 \
--fsl version=6.0.6.4 \
--spm12 version=r7771 method=binaries \
--miniconda method=binaries \
version=latest
conda_install="python=3.10 pip=23.2.1" \
pip_install="traits==6.3.0 jupyterlab==4.0.6 graphviz==0.20.1 nipype==1.8.6 scikit-image==0.21.0 matplotlib==3.8.0 nilearn==0.10.1" \
--run 'mkdir -p ~/.jupyter && echo c.NotebookApp.ip = \"0.0.0.0\" > ~/.jupyter/jupyter_notebook_config.py' > Dockerfile
# docker run --rm repronim/neurodocker:0.9.5 generate docker

Dockerfile_mamba:
# using the mamba option requires to use the version of neurodocker
# installed from the main branch of the the neurodocker github repo
Dockerfile:
neurodocker generate docker \
--base-image centos:7 --pkg-manager yum \
--yes \
Expand Down

0 comments on commit b9e02d4

Please sign in to comment.