Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
make \
jq

# Upgrade pip to 26.2.2, minimum version for CA certificate compromise
# <https://discuss.python.org/t/information-for-python-users-regarding-emudhra-emsign-ca-certificate-security-incident/109576>
RUN python -m pip install "pip @ https://files.pythonhosted.org/packages/3f/06/3e4420302363fbb71be3c7f35ce042f54bfca330e3e66b3a2e3c4cca579f/pip-26.2.2-py3-none-any.whl#sha256=fd7f4dfa8190e014013b9f08f3e973f4e4c26ffd179a204895533a7254813a70"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was done in the builder-target-platform stage. Verified that it's properly copied into the final image:

docker pull nextstrain/base:branch-upgrade-pip
nextstrain shell --image nextstrain/base:branch-upgrade-pip . -c 'pip --version'
# pip 26.2.2 from /usr/local/lib/python3.11/site-packages/pip (python 3.11)


# 1. Install programs via pip

Expand Down
Loading