Update dockerfile tests.
diff --git a/dockerimg/testdata/testcreatedockerfile_python_misery.dockerfile b/dockerimg/testdata/testcreatedockerfile_python_misery.dockerfile
index 6439190..8bd6ceb 100644
--- a/dockerimg/testdata/testcreatedockerfile_python_misery.dockerfile
+++ b/dockerimg/testdata/testcreatedockerfile_python_misery.dockerfile
@@ -1,4 +1,4 @@
-FROM ghcr.io/boldsoftware/sketch:99a2e4afe316b3c6cf138830dbfb7796
+FROM ghcr.io/boldsoftware/sketch:33392fad8fef8761c0ef3ec098713f00
ARG GIT_USER_EMAIL
ARG GIT_USER_NAME
@@ -7,7 +7,7 @@
git config --global user.name "$GIT_USER_NAME" && \
git config --global http.postBuffer 524288000
-LABEL sketch_context="7c933e98fc1d5fd35f964b6cf115bcf65b580c378069d078ab66723b2b1073c4"
+LABEL sketch_context="d1a2565ff3402ed91077dff3b4fee531722ad1651156d8178a3920acd41a4f92"
COPY . /app
RUN rm -f /app/tmp-sketch-dockerfile
@@ -17,13 +17,15 @@
# Switch to lenient shell so we are more likely to get past failing extra_cmds.
SHELL ["/bin/bash", "-uo", "pipefail", "-c"]
-RUN apt-get update && apt-get install -y python3.11 python3-pip || true
+RUN apt-get update && apt-get install -y python3.11 python3.11-venv python3-pip || true
# Install DVC (Data Version Control)
-RUN pip3 install --no-cache-dir dvc || true
+RUN pip3 install dvc || true
-# Clean up apt cache to keep image smaller
-RUN apt-get clean && rm -rf /var/lib/apt/lists/*
+# Set up Python 3.11 as the default Python version if available
+RUN if command -v python3.11 &> /dev/null; then \
+ update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1; \
+ fi || true
# Switch back to strict shell after extra_cmds.
SHELL ["/bin/bash", "-euxo", "pipefail", "-c"]