Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 2fe8754

Browse files
committed
Install 3.9.7 as well
1 parent ac49013 commit 2fe8754

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

containers/codespaces-linux/.devcontainer/base.Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,13 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
6868
&& mkdir -p /usr/local/etc/vscode-dev-containers/ \
6969
&& mv -f /tmp/scripts/first-run-notice.txt /usr/local/etc/vscode-dev-containers/
7070

71-
# Remove existing Python installation from Oryx base image
71+
# Remove existing Python installation from the Oryx base image
7272
RUN rm -rf /opt/python && rm "${PYTHON_ROOT}/current"
7373

7474
# Install Python, JupyterLab, common machine learning packages, and Ruby utilities
75-
RUN bash /tmp/scripts/python-debian.sh "3.10.4" "/opt/python/3.10.4" "${PIPX_HOME}" "${USERNAME}" "true" "true" "true" \
76-
# Preserve symbolic link from Oryx base image
75+
RUN bash /tmp/scripts/python-debian.sh "3.10.4" "/opt/python/3.10.4" "${PIPX_HOME}" "${USERNAME}" "true" "true" "false" \
76+
&& bash /tmp/scripts/python-debian.sh "3.9.7" "/opt/python/3.9.7" "${PIPX_HOME}" "${USERNAME}" "false" "false" "false" \
77+
# Recreate symbolic link that existed in the Oryx base image
7778
&& ln -sf /opt/python/3.10.4 "${PYTHON_ROOT}/current" \
7879
# Install JupyterLab and common machine learning packages
7980
&& PYTHON_BINARY="${PYTHON_ROOT}/current/bin/python" \

0 commit comments

Comments
 (0)