File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Docker Image Build NetPyNE-UI
2+
3+ on :
4+ push :
5+ branches : [ master, dev*, feature/docker*, feature/repo* ]
6+ pull_request :
7+ branches : [ master, dev*, feature/docker*, feature/repo* ]
8+
9+ jobs :
10+
11+ build :
12+
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v4
17+
18+ - name : Build the Docker image
19+ run : |
20+ time docker build -t mynetpyneui -f Dockerfile .
21+
22+ - name : Info on Docker image sizes
23+ run : |
24+ docker images
25+
26+ - name : Run the Docker container and list python installs
27+ run : |
28+ docker run -t --rm --entrypoint /bin/bash mynetpyneui -c "pip3 list && python -V"
Original file line number Diff line number Diff line change 1- FROM node:18 as jsbuild
1+ FROM node:18 AS jsbuild
22
33ENV FOLDER=netpyne
44
@@ -12,12 +12,12 @@ COPY webapp .
1212RUN yarn build-dev
1313
1414# ## Download on a separate stage to run in parallel with buildkit
15- FROM jupyter/base-notebook:hub-1.5.0 as downloads
15+ FROM quay.io/ jupyter/base-notebook:python-3.12 AS downloads
1616USER root
1717RUN wget --no-check-certificate -O /nyhead.mat https://www.parralab.org/nyhead/sa_nyhead.mat
1818
1919# ##
20- FROM jupyter/base-notebook:hub-1.5.0
20+ FROM quay.io/ jupyter/base-notebook:python-3.12
2121ENV NB_UID=jovyan
2222ENV FOLDER=netpyne
2323ENV NP_LFPYKIT_HEAD_FILE=/home/jovyan/nyhead.mat
@@ -28,13 +28,14 @@ RUN rm -rf /var/lib/apt/lists
2828RUN apt-get update -qq &&\
2929 apt-get install python3-tk vim nano unzip git make libtool g++ -qq pkg-config libfreetype6-dev libpng-dev libopenmpi-dev -y
3030RUN apt-get install openjdk-11-jre-headless -y
31- RUN conda install python=3.7 -y
31+ RUN apt-get install libxml2-dev libxslt-dev -y
32+ # RUN conda install python=3.7 -y
3233
3334
3435WORKDIR $FOLDER
3536COPY --chown=1000:1000 requirements.txt requirements.txt
3637RUN --mount=type=cache,target=/root/.cache python -m pip install --upgrade pip &&\
37- pip install -r requirements.txt --prefer-binary
38+ pip install -r requirements.txt
3839
3940
4041# ToDo: fixme, for now remove the jupyter hub config json file because it overrides the default
Original file line number Diff line number Diff line change 1- pytest==4.6.2
2- pytest-cov==2.7.1
3- tox==3.12.1
1+ pytest
2+ pytest-cov
3+ tox
Original file line number Diff line number Diff line change 1- airspeed == 0.5.20
2- alembic == 1.4.2
3- async-generator == 1.10
4- attrs == 19.3.0
5- blinker == 1.4
6- bokeh == 2.3.1
7- brotlipy == 0.7.0
8- cachetools == 0.8.0
9- cffi == 1.14.0
10- chardet == 3.0.4
11- cryptography == 2.9.2
12- cycler == 0.10.0
13- decorator == 4.4.2
14- defusedxml == 0.6.0
15- Deprecated == 1.2.10
16- entrypoints == 0.3
17- future == 0.18.2
18- h5py == 3.7.0
19- idna == 2.9
1+ aiofiles == 22.1.0
2+ aiosqlite == 0.21.0
3+ airspeed == 0.6.0
4+ anyio == 3.7.1
5+ argon2-cffi == 23.1.0
6+ argon2-cffi-bindings == 21.2.0
7+ arrow == 1.3.0
8+ asttokens == 3.0.0
9+ attrs == 25.1.0
10+ babel == 2.17.0
11+ beautifulsoup4 == 4.13.3
12+ bleach == 6.2.0
13+ blosc2 == 3.1.1
14+ bokeh
15+ cachetools == 5.5.2
16+ cattrs == 24.1.2
17+ certifi == 2025.1.31
18+ cffi == 1.17.1
19+ charset-normalizer == 3.4.1
20+ comm == 0.2.2
21+ contourpy == 1.3.1
22+ cycler == 0.12.1
23+ dacite == 1.9.2
24+ debugpy == 1.8.12
25+ decorator == 5.2.1
26+ defusedxml == 0.7.1
27+ Deprecated == 1.2.18
28+ dnspython == 2.7.0
29+ docstring_parser == 0.16
30+ entrypoints == 0.4
31+ executing == 2.2.0
32+ fastjsonschema == 2.21.1
33+ find_libpython == 0.4.0
34+ fonttools == 4.56.0
35+ fqdn == 1.5.1
36+ future == 1.0.0
37+ future-fstrings == 1.2.0
38+ graphviz == 0.20.3
39+ h11 == 0.14.0
40+ h5py == 3.13.0
41+ httpcore == 1.0.7
42+ httpx == 0.28.1
43+ idna == 3.10
44+ iniconfig == 2.0.0
45+ ipykernel == 6.20.2
46+ ipython == 8.21.0
2047ipython-genutils == 0.2.0
21- ipywidgets == 7.5.1
22- jedi == 0.17.0
48+ ipywidgets == 8.1.5
49+ isoduration == 20.11.0
50+ jedi == 0.19.2
2351Jinja2 == 2.11.2
24- jsonpickle == 2.1.0
25- jsonschema == 3.2.0
26- jupyter_geppetto == 1.1.5
52+ json5 == 0.10.0
53+ jsonpickle == 4.0.2
54+ jsonpointer == 3.0.0
55+ jsonschema == 4.23.0
56+ jsonschema-specifications == 2024.10.1
57+ jupyter == 1.1.1
2758jupyter-client == 7.0.6
28- jupyter-core == 4.9.1
29- jupyter-server == 1.11.2
30- jupyterhub == 1.5.0
31- jupyterlab == 3.2.4
32- neuromllite == 0.5.4
59+ jupyter-console == 6.4.4
60+ jupyter-core == 4.12.0
61+ # jupyter-events==0.12.0
62+ jupyter-geppetto == 1.1.5
63+ jupyter-server == 1.15.0
64+ jupyter-ydoc == 0.2.5
65+ jupyter_server_ydoc == 0.8.0
66+ jupyterlab == 3.3.4
67+ jupyterlab_pygments == 0.3.0
68+ jupyterlab-server == 2.10.3
69+ jupyterlab_widgets == 3.0.13
3370jupyterthemes == 0.20.0
34- kiwisolver == 1.2.0
35- lesscpy == 0.14.0
71+ kiwisolver == 1.4.8
72+ lesscpy == 0.15.1
73+ LFPykit == 0.5.1
3674libNeuroML == 0.5.1
37- lfpykit == 0.5.1
38- lxml == 4.5.1
39- Mako == 1.1.0
75+ lxml == 5.3.1
4076MarkupSafe == 1.1.1
41- matplotlib
42- matplotlib-scalebar
77+ matplotlib == 3.10.0
78+ matplotlib-inline == 0.1.7
79+ matplotlib-scalebar == 0.9.0
80+ MEAutility == 1.5.2
4381mistune == 0.8.4
44- multimethod == 1.3
82+ modelspec == 0.3.5
83+ msgpack == 1.1.0
84+ multimethod == 2.0
85+ nbclassic == 0.3.7
86+ nbclient == 0.10.2
4587nbconvert == 5.6.1
46- nbformat == 5.0.6
47- netpyne == 1.0.6
48- NEURON == 8.2.2
49- numpy == 1.18.5
50- oauthlib == 3.0.1
51- optuna == 2.10.1
52- ordered-set == 4.0.2
53- pamela == 1.0.0
54- pandas == 0.23.4
55- pandocfilters == 1.4.2
56- parso == 0.7.0
57- pexpect == 4.8.0
58- pickleshare == 0.7.5
59- Pillow == 7.2.0
88+ nbformat == 5.2.0
89+ ndindex == 1.9.2
90+ nest-asyncio == 1.6.0
91+ netpyne @ git+https://github.com/Neurosim-lab/netpyne.git@3d633bcda9a3ab3fe4a90b7c705cd3692a729185
92+ networkx == 3.4.2
93+ neuromllite == 0.5.4
94+ NEURON == 8.2.6
95+ notebook == 6.4.5
96+ notebook_shim == 0.2.3
97+ numexpr == 2.10.2
98+ numpy == 1.26.4
99+ ordered-set == 4.1.0
100+ packaging == 24.2
101+ pandas == 2.2.3
102+ pandocfilters == 1.5.1
103+ parso == 0.8.4
104+ pexpect == 4.9.0
105+ pillow == 11.1.0
106+ platformdirs == 4.3.6
107+ pluggy == 1.5.0
60108ply == 3.11
61- prompt-toolkit == 3.0.5
62- ptyprocess == 0.6.0
63- pycosat == 0.6.3
64- pycparser == 2.20
65- pyecore == 0.11.7
66- pygeppetto == 0.8.1
109+ prometheus_client == 0.21.1
110+ prompt_toolkit == 3.0.50
111+ psutil == 7.0.0
112+ ptyprocess == 0.7.0
113+ pure_eval == 0.2.3
114+ py == 1.11.0
115+ py-cpuinfo == 9.0.0
116+ pycparser == 2.22
117+ pyecore == 0.15.2
118+ pygeppetto == 0.9.0
119+ Pygments == 2.19.1
67120PyLEMS == 0.5.9
121+ pymongo == 4.11.1
68122pyNeuroML == 1.0.10
69- sentry_sdk == 1.5.2
70- dacite == 1.6.0
71- h5py == 3.7.0
72- jsonpickle == 2.1.0
73- Pygments == 2.6.1
74- PyJWT == 1.7.1
75- pyOpenSSL == 19.1.0
76- pyparsing == 2.4.7
77- pyrsistent == 0.16.0
78- PySocks == 1.7.1
79- python-dateutil == 2.8.1
80- python-editor == 1.0.4
81- python-json-logger == 0.1.11
82- pytz == 2020.1
83- PyYAML == 5.3.1
84- pyzmq == 19.0.1
85- qtconsole == 4.7.5
86- QtPy == 1.9.0
87- RestrictedPython == 5.0
88- ruamel-yaml == 0.15.80
89- ruamel.yaml.clib == 0.2.0
90- scipy == 1.4.1
91- Send2Trash == 1.5.0
92- terminado == 0.8.3
93- testpath == 0.4.4
94- tornado == 6.1.0
95- traitlets == 4.3.3
96- typing-extensions == 3.7.4.2
97- urllib3 == 1.25.9
123+ pyparsing == 3.2.1
124+ pytest == 6.2.5
125+ python-dateutil == 2.9.0.post0
126+ python-json-logger == 3.2.1
127+ pytz == 2025.1
128+ PyYAML == 6.0.2
129+ pyzmq == 26.2.1
130+ referencing == 0.36.2
131+ requests == 2.32.3
132+ RestrictedPython == 8.0
133+ rfc3339-validator == 0.1.4
134+ rfc3986-validator == 0.1.1
135+ rpds-py == 0.23.1
136+ schema == 0.7.7
137+ scipy == 1.15.2
138+ Send2Trash == 1.8.3
139+ sentry-sdk == 1.5.2
140+ setuptools == 75.8.0
141+ six == 1.17.0
142+ sniffio == 1.3.1
143+ soupsieve == 2.6
144+ stack-data == 0.6.3
145+ tables == 3.10.2
146+ tabulate == 0.9.0
147+ terminado == 0.18.1
148+ testpath == 0.6.0
149+ tinycss2 == 1.4.0
150+ toml == 0.10.2
151+ tornado == 6.1
152+ tqdm == 4.67.1
153+ traitlets == 5.9.0
154+ types-python-dateutil == 2.9.0.20241206
155+ typing_extensions == 4.12.2
156+ tzdata == 2025.1
157+ uri-template == 1.3.0
158+ urllib3 == 2.3.0
159+ wcwidth == 0.2.13
160+ webcolors == 24.11.1
98161webencodings == 0.5.1
99- widgetsnbextension == 3.5.1
100- wrapt == 1.12.1
101- zipp == 3.1.0
162+ websocket-client == 1.8.0
163+ wheel == 0.45.1
164+ widgetsnbextension == 4.0.13
165+ wrapt == 1.17.2
166+ xyzservices == 2025.1.0
167+ y-py == 0.6.2
168+ ypy-websocket == 0.8.4
You can’t perform that action at this time.
0 commit comments