Skip to content

Commit eea2e3d

Browse files
committed
More docker helper files
1 parent 568e7f3 commit eea2e3d

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/docker-netpyne.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
- name: Build the Docker image
1919
run: |
20-
time docker build -t mynetpyneui -f Dockerfile .
20+
./build_docker.sh
2121
2222
- name: Info on Docker image sizes
2323
run: |

build_docker.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
set -e
3+
4+
time DOCKER_BUILDKIT=1 docker build -t mynetpyneui -f Dockerfile .

run_docker.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
set -e
3+
4+
# A script to run the NetPyNE container locally (build it first with ./build_local.sh)
5+
6+
docker run --network host -it --rm --name mynpui mynetpyneui
7+
8+

0 commit comments

Comments
 (0)