Skip to content

Commit 3bd6397

Browse files
authored
[Feature:Autograding] Add image for latest Qiskit version (#57)
### What is the current behavior? Current docker image only supports Qiskit 1.0.2. ### What is the new behavior? Create new docker image that supports Qiskit 2.0.1 and set the latest tag to point to this image. ### Other information? <!-- Is this a breaking change? --> <!-- How did you test --> I ran the docker instance within the VM and executed python files that imported libraries no longer available in Qiskit 2.0.1, which failed as expected. Signed-off-by: Christopher Poon <[email protected]>
1 parent 9f22012 commit 3bd6397

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

dockerfiles/qiskit/2.0.1/Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM ubuntu:22.04
2+
3+
RUN apt-get update
4+
5+
RUN apt-get install python3.10 pip -y
6+
7+
RUN pip install --upgrade pip==22.0.2
8+
9+
RUN pip install qiskit[all]==2.0.1 qiskit-ibm-runtime==0.39.0

dockerfiles/qiskit/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"pushLatest": true,
3-
"latestTag": "1.0.2"
3+
"latestTag": "2.0.1"
44
}

0 commit comments

Comments
 (0)