forked from nest/nest-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00d1176
commit 28e1391
Showing
4 changed files
with
35 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,7 +90,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ | |
cd ${SRC_PATH} && \ | ||
wget "https://github.com/nest/nest-simulator/archive/refs/tags/v${NEST_VERSION}.tar.gz" -P ${SRC_PATH} && \ | ||
tar -xzf v${NEST_VERSION}.tar.gz && \ | ||
python3 -m pip install -r ${SRC_PATH}/nest-simulator-${NEST_VERSION}/doc/requirements.txt && \ | ||
# Installing the requirements_docs.txt stops at some time with an error | ||
# Installing every package fix it. | ||
python3 -m pip install sphinx>=6.2.1 sphinx_rtd_theme sphinx_autobuild sphinx_gallery sphinx-tabs && \ | ||
python3 -m pip install sphinx_design sphinx-material sphinx-copybutton sphinx-carousel && \ | ||
python3 -m pip install sphinx-notfound-page sphinxcontrib-mermaid sphinxcontrib-plantuml nbsphinx && \ | ||
python3 -m pip install numpydoc example Image breathe csvkit docutils PyYAML>=4.2b1 tqdm yamllint && \ | ||
# RUN python3 -m pip install -r ${SRC_PATH}/nest-simulator-${NEST_VERSION}/requirements_docs.txt | ||
python3 -m pip install sphinx_gallery==0.10.1 'numpy<=1.26' && \ | ||
chmod +x ${SRC_PATH}/nest-simulator-${NEST_VERSION}/build_support/install_music.sh && \ | ||
${SRC_PATH}/nest-simulator-${NEST_VERSION}/build_support/install_music.sh && \ | ||
|
@@ -119,11 +125,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ | |
python3 -m pip install --upgrade scipy && \ | ||
python3 -m pip install --upgrade gsl wheel setuptools swig | ||
|
||
#Latest update to nestml v8.0.0-rc1 | ||
RUN python3 -m pip install https://api.github.com/repos/nest/nestml/zipball/pull/1087/head | ||
|
||
# python3 -m pip install nestml==8.0.0rc1 && \ | ||
|
||
RUN python3 -m pip install nestml-server@git+https://github.com/babsey/[email protected]b1 && \ | ||
RUN python3 -m pip install nestml-server@git+https://github.com/babsey/[email protected]b3 && \ | ||
python3 -m pip install --upgrade pygsl@git+https://github.com/pygsl/[email protected] | ||
|
||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh | ||
|
@@ -132,5 +139,5 @@ RUN chmod +x /usr/local/bin/entrypoint.sh | |
COPY test-nest.sh /opt/test-nest.sh | ||
RUN chmod +x /opt/test-nest.sh | ||
|
||
EXPOSE 8080 52425 54286 | ||
EXPOSE 8080 52425 52426 54286 | ||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,15 +90,23 @@ RUN python3 -m pip install --upgrade pip setuptools wheel mock | |
RUN python3 -m pip install --force-reinstall --upgrade --no-binary=h5py h5py | ||
RUN ldconfig | ||
|
||
|
||
|
||
# Download NEST | ||
RUN cd ${SRC_PATH} && \ | ||
wget https://github.com/nest/nest-simulator/archive/refs/heads/${NEST_VERSION}.tar.gz -P ${SRC_PATH} && \ | ||
tar -xzf ${NEST_VERSION}.tar.gz | ||
RUN python3 -m pip install -r ${SRC_PATH}/nest-simulator-${NEST_VERSION}/doc/requirements.txt && \ | ||
python3 -m pip install sphinx_gallery==0.10.1 | ||
# Install music | ||
|
||
# Installing the requirements_docs.txt stops at some time with an error | ||
# Installing every package fix it. | ||
RUN python3 -m pip install sphinx>=6.2.1 sphinx_rtd_theme sphinx_autobuild sphinx_gallery sphinx-tabs | ||
RUN python3 -m pip install sphinx_design sphinx-material sphinx-copybutton sphinx-carousel | ||
RUN python3 -m pip install sphinx-notfound-page sphinxcontrib-mermaid sphinxcontrib-plantuml nbsphinx | ||
RUN python3 -m pip install numpydoc example Image breathe csvkit docutils PyYAML>=4.2b1 tqdm yamllint | ||
|
||
# RUN python3 -m pip install -r ${SRC_PATH}/nest-simulator-${NEST_VERSION}/requirements_docs.txt | ||
|
||
RUN python3 -m pip install sphinx_gallery==0.10.1 | ||
|
||
# Install music | ||
RUN chmod +x ${SRC_PATH}/nest-simulator-${NEST_VERSION}/build_support/install_music.sh && \ | ||
${SRC_PATH}/nest-simulator-${NEST_VERSION}/build_support/install_music.sh | ||
|
||
|
@@ -136,11 +144,10 @@ RUN mkdir ${SRC_PATH}/nest-build && cd $_ && \ | |
|
||
# Install NESTML and more | ||
RUN python3 -m pip install --upgrade pip && \ | ||
python3 -m pip install -r ${SRC_PATH}/nest-simulator-${NEST_VERSION}/requirements.txt && \ | ||
python3 -m pip install nest-desktop --pre && \ | ||
python3 -m pip uninstall nestml -y && \ | ||
python3 -m pip install --upgrade https://github.com/nest/nestml/archive/refs/heads/master.zip && \ | ||
python3 -m pip install nestml-server@git+https://github.com/babsey/[email protected]b1 | ||
python3 -m pip install nestml-server@git+https://github.com/babsey/[email protected]b3 | ||
|
||
RUN python3 -m pip install --force-reinstall --upgrade scipy | ||
|
||
|
@@ -150,5 +157,5 @@ RUN chmod +x /usr/local/bin/entrypoint.sh | |
COPY test-nest.sh /opt/test-nest.sh | ||
RUN chmod +x /opt/test-nest.sh | ||
|
||
EXPOSE 8080 52425 54286 | ||
EXPOSE 8080 52425 52426 54286 | ||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters