Skip to content

Commit

Permalink
rename to 'restricted' + remove jupyter-covid19 changes for now
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre committed Jan 19, 2024
1 parent 6e9cfec commit 818ef2b
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_push_python_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build Python Images and Push to Quay and ECR
on:
push:
paths:
- python3.9-data-science/Dockerfile
- python3.9-data-science/**
- .github/workflows/build_and_push_python_image.yml

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_azlinux_jupyter_scipy_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and push AmazonLinux jupyter-scipy
on:
push:
paths:
- azlinux-jupyter-scipy/Dockerfile
- azlinux-jupyter-scipy/**
- .github/workflows/build_azlinux_jupyter_scipy_image.yml

jobs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: Build and push PRC images
name: Build and Push jupyter-restricted-download

on:
push:
paths:
- jupyter-restricted-download/Dockerfile
- .github/workflows/build_jupyter_restricted_download.yml
- jupyter-restricted-download/**
- .github/workflows/build_jupyter_restricted_download_image.yml

jobs:
jupyter-covid19-restricted-download:
jupyter-restricted-download:
name: Build and Push jupyter-restricted-download
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master
with:
DOCKERFILE_LOCATION: "./jupyter-restricted-download/Dockerfile"
DOCKERFILE_BUILD_CONTEXT: "./jupyter-restricted-download"
OVERRIDE_REPO_NAME: "jupyter-covid19"
OVERRIDE_REPO_NAME: "jupyter-notebook"
OVERRIDE_TAG_NAME: "restricted-download-$(echo ${GITHUB_REF#refs/*/} | tr / _)"
USE_QUAY_ONLY: true
secrets:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_vlmd_submission_python_image.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Python Image and Push to Quay and ECR
name: Build VLMD Image

on:
push:
Expand All @@ -8,7 +8,7 @@ on:

jobs:
ci:
name: Build Image and Push to Quay
name: Build VLMD Image
uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master
with:
DOCKERFILE_LOCATION: "./vlmd-submission-tools/Dockerfile"
Expand Down
7 changes: 3 additions & 4 deletions jupyter-covid19/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/cdis/jupyter-restrict-download:1.1.0
FROM quay.io/cdis/jupyter-notebook:1.1.0

USER $NB_USER
WORKDIR /home/$NB_USER
Expand Down Expand Up @@ -96,6 +96,5 @@ ADD --chown=jovyan:users https://raw.githubusercontent.com/uc-cdis/covid19-tools
RUN touch /home/$NB_USER/covid19-notebook/peregrine.py

# premade notebooks dependencies
# RUN pip install --upgrade 'pip<20.3' # pip 20.3 causes dependency resolution issues
COPY requirements.txt /home/$NB_USER/covid19-notebook/requirements.txt
RUN pip install -r /home/$NB_USER/covid19-notebook/requirements.txt --upgrade
RUN pip install --upgrade 'pip<20.3' # pip 20.3 causes dependency resolution issues
RUN pip install -r /home/$NB_USER/covid19-notebook/requirements.txt
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# jupyter-restricted-download

A "restricted" build of `jupyter-slim`. Basically the same as `../jupyter-slim/`, but it restricts user to download anything from the jupyter lab
A "restricted" build of `jupyter-slim`. Basically the same as `../jupyter-slim/`, but it prevents users from downloading anything from the jupyter lab
File renamed without changes.
File renamed without changes.

0 comments on commit 818ef2b

Please sign in to comment.