Skip to content

Commit 50812e2

Browse files
authored
Upgrade ipython installed in Docker images (#2021)
1 parent 215a0dc commit 50812e2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docker/Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ ARG AWS_OFI_NCCL_VERSION=v1.5.0-aws
4848
# Upgrade certifi to resolve CVE-2022-23491
4949
ARG CERTIFI_VERSION='>=2022.12.7'
5050

51+
# Upgrade ipython to resolve CVE-2023-24816
52+
ARG IPYTHON_VERSION='>=8.10.0'
53+
5154
# Upgrade urllib to resolve CVE-2021-33503
5255
ARG URLLIB3_VERSION='>=1.26.5,<2'
5356

@@ -340,8 +343,10 @@ RUN apt-get update && \
340343
#########################
341344
# Upgrade pip packages
342345
#########################
343-
RUN pip install --no-cache-dir --upgrade urllib3${URLLIB3_VERSION} \
344-
certifi${CERTIFI_VERSION}
346+
RUN pip install --no-cache-dir --upgrade \
347+
certifi${CERTIFI_VERSION} \
348+
ipython${IPYTHON_VERSION} \
349+
urllib3${URLLIB3_VERSION}
345350

346351

347352
######################

0 commit comments

Comments
 (0)