diff --git a/.binder/Dockerfile b/.binder/Dockerfile index 119e61cf..bea0126a 100644 --- a/.binder/Dockerfile +++ b/.binder/Dockerfile @@ -22,7 +22,7 @@ ENV \ # Skip extraction of XML docs - generally not useful within an image/container - helps performance NUGET_XMLDOC_MODE=skip \ # Opt out of telemetry until after we install jupyter when building the image, this prevents caching of machine id - DOTNET_TRY_CLI_TELEMETRY_OPTOUT=true + DOTNET_INTERACTIVE_CLI_TELEMETRY_OPTOUT=true # Install .NET CLI dependencies RUN apt-get update \ @@ -39,11 +39,11 @@ RUN apt-get update \ # Install .NET Core SDK # When updating the SDK version, the sha512 value a few lines down must also be updated. -ENV DOTNET_SDK_VERSION 3.1.301 +ENV DOTNET_SDK_VERSION 5.0.102 -RUN dotnet_sdk_version=3.1.301 \ +RUN dotnet_sdk_version=5.0.102 \ && curl -SL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/$dotnet_sdk_version/dotnet-sdk-$dotnet_sdk_version-linux-x64.tar.gz \ - && dotnet_sha512='dd39931df438b8c1561f9a3bdb50f72372e29e5706d3fb4c490692f04a3d55f5acc0b46b8049bc7ea34dedba63c71b4c64c57032740cbea81eef1dce41929b4e' \ + && dotnet_sha512='0ce2d5365ca39808fb71baec4584d4ec786491c3735543dc93244604ea97e242377d0987cd8b1e529258dee68f203b5780559201e7ea6d84487d6d8d433329b3' \ && echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - \ && mkdir -p /usr/share/dotnet \ && tar -ozxf dotnet.tar.gz -C /usr/share/dotnet \ @@ -57,19 +57,19 @@ RUN dotnet_sdk_version=3.1.301 \ COPY ./notebooks/ ${HOME}/notebooks/ # Copy package sources - COPY ./.binder/NuGet.config ${HOME}/nuget.config RUN chown -R ${NB_UID} ${HOME} USER ${USER} -#Install nteract + +# Install nteract RUN pip install nteract_on_jupyter # Install lastest build from master branch of Microsoft.DotNet.Interactive #RUN dotnet tool install -g Microsoft.dotnet-interactive --add-source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" -#latest stable from nuget.org +# Latest stable from nuget.org RUN dotnet tool install -g Microsoft.dotnet-interactive --add-source "https://api.nuget.org/v3/index.json" ENV PATH="${PATH}:${HOME}/.dotnet/tools" @@ -79,8 +79,7 @@ RUN echo "$PATH" RUN dotnet interactive jupyter install # Enable telemetry once we install jupyter for the image -ENV DOTNET_TRY_CLI_TELEMETRY_OPTOUT=false +ENV DOTNET_INTERACTIVE_CLI_TELEMETRY_OPTOUT=false # Set root to notebooks -WORKDIR ${HOME}/notebooks/ - +WORKDIR ${HOME}/notebooks/ \ No newline at end of file