Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Merge branch 'main' into miniconda_tqdm_GHSA-g7vv-2v7x-gj9p
  • Loading branch information
gauravsaini04 authored Jun 18, 2024
commit 03d6c632c555345d93e022b26966e634571e06cf
16 changes: 4 additions & 12 deletions src/miniconda/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
FROM continuumio/miniconda3 as upstream

# Temporary: Upgrade python packages due to mentioned CVEs
# They are installed by the base image (continuumio/miniconda3) which does not have the patch.
RUN conda install \
# https://github.com/advisories/GHSA-jjg7-2v4v-x38h
idna==3.7

RUN python3 -m pip install --upgrade \
# https://github.com/advisories/GHSA-6vqw-3v5j-54x4
cryptography==42.0.4 \
# installed for compatibility with cryptography v42.0.4
pyopenssl==24.0.0 \
# https://github.com/advisories/GHSA-g7vv-2v7x-gj9p
tqdm==4.66.3
# They are installed by the base image (continuumio/anaconda3) which does not have the patch.
COPY ./apply_security_patches.sh /tmp/apply_security_patches.sh
RUN chmod +x /tmp/apply_security_patches.sh
RUN /tmp/apply_security_patches.sh

# Reset and copy updated files with updated privs to keep image size down
FROM mcr.microsoft.com/devcontainers/base:1-bullseye
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.