Skip to content
Snippets Groups Projects
Select Git revision
  • 332f9e64386d330d0e56bfcdbed75fb26b23d8df
  • RWTHmoodle_4.x default
  • reportlab-integration
  • master-update-ci
  • MOODLE_4-4.1.2
  • MOODLE_3.x
  • bash-version
  • amritad1991-master-patch-37910
  • master protected
  • master_backup
  • rohlfing-enhance-docs
  • rohlfing-patch-qr
  • v1.0.1
  • v1.0.0
  • v0.1.0
15 results

batch.py

Blame
  • Forked from IENT / exam-scan
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Dockerfile 1.16 KiB
    ARG BASE_IMAGE=jupyter/minimal-notebook
    FROM $BASE_IMAGE
    
    ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
    ENV PATH="${PATH}:/opt/dotnet"
    
    USER root
    
    RUN apt-get update && \
        apt-get install -y \
            wget gpg git \
            build-essential python-dev \
            lsb-release && \
        rm -rf /var/lib/apt/lists/*
    
    # Update the list of packages
    RUN apt-get update
    # Install pre-requisite packages.
    RUN apt-get install -y wget apt-transport-https software-properties-common
    # Create Dotnet Folder
    RUN mkdir /opt/dotnet
    
    RUN chown -R ${NB_USER}: /opt/dotnet
    # Download the Microsoft repository GPG keys
    RUN wget -q "https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb"
    # Register the Microsoft repository GPG keys
    RUN dpkg -i packages-microsoft-prod.deb
    # Update the list of packages after we added packages.microsoft.com
    RUN apt-get update
    # Install PowerShell and .NET SDK 6.0
    RUN apt-get install -y powershell dotnet-sdk-6.0
    
    USER ${NB_USER}
    
    # Install .NET Interactive
    RUN dotnet tool install Microsoft.dotnet-interactive --tool-path /opt/dotnet
    
    # Install  the DotNet Kernel to Jupyter VirtualEnv
    RUN dotnet interactive jupyter install
    
    USER ${NB_USER}