-
Notifications
You must be signed in to change notification settings - Fork 10
33 lines (25 loc) · 916 Bytes
/
docker-netpyne.yml
File metadata and controls
33 lines (25 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Docker Image Build NetPyNE-UI
on:
push:
branches: [ master, dev*, feature/docker*, feature/repo*, jupyterhub-update ]
pull_request:
branches: [ master, dev*, feature/docker*, feature/repo*, jupyterhub-update ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Clone Netpyne UI dependencies
run: |
mkdir -p applications/netpyne/dependencies
git clone --branch 1.1.0 https://github.com/MetaCell/NetPyNE-UI.git applications/netpyne/dependencies/NetPyNE-UI
- name: Build the Docker image
run: |
cd applications/netpyne
docker build -t mynpui -f Dockerfile --no-cache .
- name: Info on Docker image sizes
run: |
docker images
- name: Run the Docker container and list python installs
run: |
docker run -t --rm --entrypoint /bin/bash mynpui -c "pip3 list"