Skip to content

Commit 0b913dd

Browse files
committed
[anaconda] - changes as requested
1 parent 13aac29 commit 0b913dd

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

src/anaconda/.devcontainer/Dockerfile

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@ FROM continuumio/anaconda3 as upstream
33
# Verify OS version is expected one
44
RUN . /etc/os-release && if [ "${VERSION_CODENAME}" != "bullseye" ]; then exit 1; fi
55

6-
# Run vulerable packages script for installation
7-
COPY ./install_vulnerable_packages.sh /tmp/install_vulnerable_packages.sh
8-
9-
#Make the script execuitable
10-
RUN chmod +x /tmp/install_vulnerable_packages.sh
11-
12-
#Execute the script file
13-
RUN /tmp/install_vulnerable_packages.sh
6+
# Temporary: Upgrade python packages due to mentioned CVEs
7+
# They are installed by the base image (continuumio/anaconda3) which does not have the patch.
8+
COPY ./apply_security_patches.sh /tmp/apply_security_patches.sh
9+
RUN chmod +x /tmp/apply_security_patches.sh
10+
RUN /tmp/apply_security_patches.sh
1411

1512
# Reset and copy updated files with updated privs to keep image size down
1613
FROM mcr.microsoft.com/devcontainers/base:1-bullseye
File renamed without changes.

0 commit comments

Comments
 (0)