Skip to content

Instantly share code, notes, and snippets.

@cgranade
Last active March 14, 2020 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cgranade/09dabfe1cc2e650cd88d2cfc98185791 to your computer and use it in GitHub Desktop.
Save cgranade/09dabfe1cc2e650cd88d2cfc98185791 to your computer and use it in GitHub Desktop.
Values in Q#
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
FROM mcr.microsoft.com/quantum/iqsharp-base:0.10.2002.2610
ENV IQSHARP_HOSTING_ENV=dev-to-sckaiser-arrays
# Make sure the contents of our repo are in ${HOME}.
# These steps are required for use on mybinder.org.
USER root
COPY . ${HOME}
RUN chown -R ${USER} ${HOME}
# While root, upgrade the .NET Core SDK.
RUN apt-get -y update && \
apt-get -y install dotnet-sdk-3.1 && \
apt-get clean && rm -rf /var/lib/apt/lists/
# Finish by dropping back to the notebook user and installing support needed
# for C# notebooks.
USER ${USER}
RUN dotnet tool install --global \
--add-source "https://dotnet.myget.org/F/dotnet-try/api/v3/index.json" \
Microsoft.dotnet-interactive && \
dotnet interactive jupyter install
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment