Install skaffold #338
This file contains hidden or 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
| 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" |