File tree Expand file tree Collapse file tree 6 files changed +48
-5
lines changed
Expand file tree Collapse file tree 6 files changed +48
-5
lines changed Original file line number Diff line number Diff line change 1- name : Docker Image Build Jupyterlab
1+ name : Docker Image Build JupyterLab
22
33on :
44 push :
@@ -13,17 +13,18 @@ jobs:
1313 runs-on : ubuntu-latest
1414
1515 steps :
16- - uses : actions/checkout@v3
16+ - uses : actions/checkout@v4
1717
1818 - name : Build the Docker image
1919 run : |
2020 cd applications/jupyterlab
21- docker build -t myjlab -f Dockerfile --no-cache .
21+ ./build_local.sh
2222
2323 - name : Info on Docker image sizes
2424 run : |
2525 docker images
2626
2727 - name : Run the Docker container and list python installs
2828 run : |
29- docker run -t --rm --entrypoint /bin/bash myjlab -c "pip3 list"
29+ cd applications/jupyterlab
30+ ./pip_omv_info.sh
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -ex
3+
4+ # Set the platform flag if we're on ARM
5+ arch=$( uname -m)
6+ if [[ " $arch " == " arm64" || " $arch " == " aarch64" ]]; then
7+ platform_flag=" --platform linux/amd64"
8+ else
9+ platform_flag=" "
10+ fi
11+
12+ time DOCKER_BUILDKIT=1 docker build $platform_flag -t myjlab -f Dockerfile .
13+
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e
3+
4+ # A script to print info versions of packages in the JupyterLab container
5+
6+ docker run -t --rm --entrypoint /bin/bash myjlab -c " pip3 list"
7+ echo " --------------------------------------------------------"
8+ docker run -t --rm --entrypoint /bin/bash myjlab -c " omv list -V"
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -ex
3+
4+ # Set the platform flag if we're on ARM
5+ arch=$( uname -m)
6+ if [[ " $arch " == " arm64" || " $arch " == " aarch64" ]]; then
7+ platform_flag=" --platform linux/amd64"
8+ else
9+ platform_flag=" "
10+ fi
11+
12+ time DOCKER_BUILDKIT=1 docker build $platform_flag -t myjlab -f Dockerfile --no-cache .
13+
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ neurotune
66neuron
77
88# Install specific version of NetPyNE
9- git+https://github.com/Neurosim-lab/netpyne.git@osbv2#egg=netpyne
9+ git+https://github.com/Neurosim-lab/netpyne.git@osbv2-dev #egg=netpyne
1010
1111#### Other simulators
1212
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e
3+
4+ # A script to run the JupyterLab container locally (build it first with ./build_local.sh)
5+
6+ docker run --network host -it --rm --name myjupyterlab myjlab
7+
8+
You can’t perform that action at this time.
0 commit comments