Minor changes in Dockerfile to aid admin bash scripting #402
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 Jupyterlab | |
| 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: Build the Docker image | |
| run: | | |
| cd applications/jupyterlab | |
| docker build -t myjlab -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 myjlab -c "pip3 list" |