Skip to content

Commit

Permalink
ignore files
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Sep 16, 2023
1 parent 5ecd9f6 commit e97eb32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ RUN yum install -y -q \
&& python -m pip install --no-cache-dir \
"traits==6.3.0" \
"jupyterlab==4.0.6" \
"graphviz-0.20.1" \
"graphviz==0.20.1" \
"nipype==1.8.6" \
"scikit-image==0.21.0" \
"matplotlib==3.8.0" \
Expand Down Expand Up @@ -220,7 +220,7 @@ RUN printf '{ \
{ \
"name": "run", \
"kwds": { \
"command": "yum install -y -q \\\\\\n bzip2 \\\\\\n curl\\nyum clean all\\nrm -rf /var/cache/yum/*\\n# Install dependencies.\\nexport PATH=\\"/opt/miniconda-latest/bin:$PATH\\"\\necho \\"Downloading Miniconda installer ...\\"\\nconda_installer=\\"/tmp/miniconda.sh\\"\\ncurl -fsSL -o \\"$conda_installer\\" https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh\\nbash \\"$conda_installer\\" -b -p /opt/miniconda-latest\\nrm -f \\"$conda_installer\\"\\nconda update -yq -nbase conda\\nconda install -yq -nbase conda-libmamba-solver\\nconda config --set solver libmamba\\n# Prefer packages in conda-forge\\nconda config --system --prepend channels conda-forge\\n# Packages in lower-priority channels not considered if a package with the same\\n# name exists in a higher priority channel. Can dramatically speed up installations.\\n# Conda recommends this as a default\\n# https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-channels.html\\nconda config --set channel_priority strict\\nconda config --system --set auto_update_conda false\\nconda config --system --set show_channel_urls true\\n# Enable `conda activate`\\nconda init bash\\nconda install -y --name base \\\\\\n \\"python=3.10\\" \\\\\\n \\"pip=23.2.1\\"\\nbash -c \\"source activate base\\n python -m pip install --no-cache-dir \\\\\\n \\"traits==6.3.0\\" \\\\\\n \\"jupyterlab==4.0.6\\" \\\\\\n \\"graphviz-0.20.1\\" \\\\\\n \\"nipype==1.8.6\\" \\\\\\n \\"scikit-image==0.21.0\\" \\\\\\n \\"matplotlib==3.8.0\\" \\\\\\n \\"nilearn==0.10.1\\"\\"\\n# Clean up\\nsync && conda clean --all --yes && sync\\nrm -rf ~/.cache/pip/*" \
"command": "yum install -y -q \\\\\\n bzip2 \\\\\\n curl\\nyum clean all\\nrm -rf /var/cache/yum/*\\n# Install dependencies.\\nexport PATH=\\"/opt/miniconda-latest/bin:$PATH\\"\\necho \\"Downloading Miniconda installer ...\\"\\nconda_installer=\\"/tmp/miniconda.sh\\"\\ncurl -fsSL -o \\"$conda_installer\\" https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh\\nbash \\"$conda_installer\\" -b -p /opt/miniconda-latest\\nrm -f \\"$conda_installer\\"\\nconda update -yq -nbase conda\\nconda install -yq -nbase conda-libmamba-solver\\nconda config --set solver libmamba\\n# Prefer packages in conda-forge\\nconda config --system --prepend channels conda-forge\\n# Packages in lower-priority channels not considered if a package with the same\\n# name exists in a higher priority channel. Can dramatically speed up installations.\\n# Conda recommends this as a default\\n# https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-channels.html\\nconda config --set channel_priority strict\\nconda config --system --set auto_update_conda false\\nconda config --system --set show_channel_urls true\\n# Enable `conda activate`\\nconda init bash\\nconda install -y --name base \\\\\\n \\"python=3.10\\" \\\\\\n \\"pip=23.2.1\\"\\nbash -c \\"source activate base\\n python -m pip install --no-cache-dir \\\\\\n \\"traits==6.3.0\\" \\\\\\n \\"jupyterlab==4.0.6\\" \\\\\\n \\"graphviz==0.20.1\\" \\\\\\n \\"nipype==1.8.6\\" \\\\\\n \\"scikit-image==0.21.0\\" \\\\\\n \\"matplotlib==3.8.0\\" \\\\\\n \\"nilearn==0.10.1\\"\\"\\n# Clean up\\nsync && conda clean --all --yes && sync\\nrm -rf ~/.cache/pip/*" \
} \
}, \
{ \
Expand Down
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Dockerfile:
--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" \
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

Dockerfile_mamba:
Expand All @@ -26,5 +26,5 @@ Dockerfile_mamba:
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

0 comments on commit e97eb32

Please sign in to comment.