From ebbba2efaf68063efb1f6d6552ffe886d94e865a Mon Sep 17 00:00:00 2001 From: Rohith Reddy Kota Date: Sun, 14 Apr 2024 21:23:47 +0530 Subject: [PATCH 1/3] Update Dockerfile fix iqsharp issues & add pkgs required for QuantumClassification tutorial --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4d6cb8bbc82..00abe370047 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,9 @@ USER root RUN pip install -I --no-cache-dir \ matplotlib \ numpy \ - pytest && \ + pytest \ + traitlets==5.9.0 + qsharp-jupyterlab && \ # Give permissions to the jovyan user chown -R ${USER} ${HOME} && \ chmod +x ${HOME}/scripts/*.sh @@ -85,6 +87,11 @@ RUN cd ${HOME}/ && \ \ " > ${HOME}/.nuget/NuGet/NuGet.Config +# Install other tutorial-specific packages +RUN dotnet iqsharp install --user +RUN cd ${HOME}/QuantumKatas/tutorials/QuantumClassification/ && \ + dotnet add package Microsoft.Quantum.MachineLearning --version 0.28.302812 + # Set the working directory to $HOME (/home/jovyan/) WORKDIR ${HOME} From 7dd8ed720efe18f716da79e55800dffdecf0791a Mon Sep 17 00:00:00 2001 From: Rohith Reddy Kota Date: Sun, 14 Apr 2024 21:27:37 +0530 Subject: [PATCH 2/3] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 00abe370047..73251d2e09a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ RUN pip install -I --no-cache-dir \ matplotlib \ numpy \ pytest \ - traitlets==5.9.0 + traitlets==5.9.0 \ qsharp-jupyterlab && \ # Give permissions to the jovyan user chown -R ${USER} ${HOME} && \ From 352139bc939be5077f150f46f40cc19546e203bb Mon Sep 17 00:00:00 2001 From: Rohith Reddy Kota Date: Sun, 14 Apr 2024 21:53:12 +0530 Subject: [PATCH 3/3] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 73251d2e09a..c65cbaf5fe7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -89,7 +89,7 @@ RUN cd ${HOME}/ && \ # Install other tutorial-specific packages RUN dotnet iqsharp install --user -RUN cd ${HOME}/QuantumKatas/tutorials/QuantumClassification/ && \ +RUN cd ${HOME}/tutorials/QuantumClassification/ && \ dotnet add package Microsoft.Quantum.MachineLearning --version 0.28.302812 # Set the working directory to $HOME (/home/jovyan/)