Last active
March 14, 2020 20:23
-
-
Save cgranade/09dabfe1cc2e650cd88d2cfc98185791 to your computer and use it in GitHub Desktop.
Values in Q#
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
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment