-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add nestml-server and fix CORS_ORIGINS
- Loading branch information
Showing
6 changed files
with
34 additions
and
20 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
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 |
---|---|---|
|
@@ -15,7 +15,7 @@ ENV TERM=xterm \ | |
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
automake \ | ||
autotools-dev \ | ||
build-essential \ | ||
build-essential \ | ||
ccache \ | ||
cmake \ | ||
curl \ | ||
|
@@ -43,7 +43,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ | |
libpcre3-dev \ | ||
libpython3.10 \ | ||
libreadline-dev \ | ||
libreadline8 \ | ||
libreadline8 \ | ||
libtool \ | ||
libzmq3-dev \ | ||
llvm-dev \ | ||
|
@@ -63,12 +63,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ | |
python3-jupyter-core \ | ||
python3-mpi4py \ | ||
python3-nose \ | ||
python3-pandas \ | ||
python3-pandas \ | ||
python3-path \ | ||
python3-pip \ | ||
python3-pytest \ | ||
python3-pytest-timeout \ | ||
python3-pytest-xdist \ | ||
python3-pytest-xdist \ | ||
python3-restrictedpython \ | ||
python3-scipy \ | ||
python3-setuptools \ | ||
|
@@ -108,7 +108,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ | |
-Dwith-openmp=ON \ | ||
-Dwith-libneurosim=OFF \ | ||
-Dwith-sionlib=OFF \ | ||
-Dwith-music='$HOME/.cache/libneurosim.install' \ | ||
-Dwith-music='$HOME/.cache/libneurosim.install' \ | ||
-Dwith-hdf5=ON \ | ||
${SRC_PATH}/nest-simulator-${NEST_VERSION} && \ | ||
make && \ | ||
|
@@ -117,10 +117,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ | |
python3 -m pip install -r ${SRC_PATH}/nest-simulator-${NEST_VERSION}/requirements.txt && \ | ||
python3 -m pip install --upgrade nest-desktop && \ | ||
python3 -m pip install --upgrade scipy && \ | ||
python3 -m pip install --upgrade gsl wheel setuptools swig && \ | ||
python3 -m pip install NESTML==8.0.0rc1 && \ | ||
python3 -m pip install --upgrade gsl wheel setuptools swig && \ | ||
python3 -m pip install nestml==8.0.0rc1 && \ | ||
python3 -m pip install nestml-server@git+https://github.com/babsey/[email protected] && \ | ||
python3 -m pip install --upgrade pygsl@git+https://github.com/pygsl/[email protected] | ||
|
||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh | ||
RUN chmod +x /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 |
---|---|---|
|
@@ -15,7 +15,7 @@ ENV TERM=xterm \ | |
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
automake \ | ||
autotools-dev \ | ||
build-essential \ | ||
build-essential \ | ||
ccache \ | ||
cmake \ | ||
curl \ | ||
|
@@ -41,7 +41,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ | |
libpcre3-dev \ | ||
libpython3.10 \ | ||
libreadline-dev \ | ||
libreadline8 \ | ||
libreadline8 \ | ||
libtool \ | ||
libzmq3-dev \ | ||
llvm-dev \ | ||
|
@@ -63,12 +63,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ | |
python3-mpi4py \ | ||
python3-nose \ | ||
python3-numpy \ | ||
python3-pandas \ | ||
python3-pandas \ | ||
python3-path \ | ||
python3-pip \ | ||
python3-pytest \ | ||
python3-pytest-timeout \ | ||
python3-pytest-xdist \ | ||
python3-pytest-xdist \ | ||
python3-restrictedpython \ | ||
python3-scipy \ | ||
python3-setuptools \ | ||
|
@@ -86,7 +86,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ | |
apt-get autoremove | ||
|
||
RUN python3 -m pip install --upgrade pip setuptools wheel mock | ||
RUN python3 -m pip install --force-reinstall --upgrade --no-binary=h5py h5py | ||
RUN python3 -m pip install --force-reinstall --upgrade --no-binary=h5py h5py | ||
RUN ldconfig | ||
|
||
|
||
|
@@ -101,7 +101,7 @@ RUN python3 -m pip install -r ${SRC_PATH}/nest-simulator-${NEST_VERSION}/doc/req | |
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 | ||
|
||
# # Install libneurosim | ||
# # Install libneurosim | ||
# RUN cd ${SRC_PATH}/nest-simulator-${NEST_VERSION} && \ | ||
# PYLIB_DIR="$(python3 -c "import sysconfig; print(sysconfig.get_path('include'))" | sed 's/include/lib/')" && \ | ||
# chmod +x ${SRC_PATH}/nest-simulator-${NEST_VERSION}/build_support/install_csa-libneurosim.sh && \ | ||
|
@@ -127,7 +127,7 @@ RUN mkdir ${SRC_PATH}/nest-build && cd $_ && \ | |
-Dwith-openmp=ON \ | ||
-Dwith-libneurosim=OFF \ | ||
-Dwith-sionlib=OFF \ | ||
-Dwith-music=ON \ | ||
-Dwith-music=ON \ | ||
-Dwith-hdf5=ON \ | ||
${SRC_PATH}/nest-simulator-${NEST_VERSION} && \ | ||
make && \ | ||
|
@@ -138,7 +138,8 @@ 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] && \ | ||
python3 -m pip install --upgrade https://github.com/nest/nestml/archive/refs/heads/master.zip | ||
|
||
RUN python3 -m pip install --force-reinstall --upgrade scipy | ||
|
||
|
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