Skip to content

Commit 60f38e6

Browse files
[Anaconda] - Add support for bookworm (#1110)
* [Anaconda] - Add support for bookworm * "future" pkg removed from upstream image
1 parent ee594ad commit 60f38e6

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

src/anaconda/.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM continuumio/anaconda3 as upstream
22

33
# Verify OS version is expected one
4-
RUN . /etc/os-release && if [ "${VERSION_CODENAME}" != "bullseye" ]; then exit 1; fi
4+
RUN . /etc/os-release && if [ "${VERSION_CODENAME}" != "bookworm" ]; then exit 1; fi
55

66
# Temporary: Upgrade python packages due to mentioned CVEs
77
# They are installed by the base image (continuumio/anaconda3) which does not have the patch.
@@ -10,7 +10,7 @@ RUN chmod +x /tmp/apply_security_patches.sh
1010
RUN /tmp/apply_security_patches.sh
1111

1212
# Reset and copy updated files with updated privs to keep image size down
13-
FROM mcr.microsoft.com/devcontainers/base:1-bullseye
13+
FROM mcr.microsoft.com/devcontainers/base:1-bookworm
1414

1515
ARG USERNAME=vscode
1616

src/anaconda/manifest.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
"numpy",
3232
"certifi",
3333
"setuptools",
34-
"future",
3534
"wheel",
3635
"nbconvert",
3736
"py",

src/anaconda/test-project/test-utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ checkCommon()
125125
libc6 \
126126
libgcc1 \
127127
libgssapi-krb5-2 \
128-
liblttng-ust0 \
128+
liblttng-ust1 \
129129
libstdc++6 \
130130
zlib1g \
131131
locales \

src/anaconda/test-project/test.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ checkPythonPackageVersion "cookiecutter" "2.1.1"
3434
checkPythonPackageVersion "mistune" "2.0.3"
3535
checkPythonPackageVersion "numpy" "1.22"
3636
checkPythonPackageVersion "setuptools" "65.5.1"
37-
checkPythonPackageVersion "future" "0.18.3"
3837
checkPythonPackageVersion "wheel" "0.38.1"
3938
checkPythonPackageVersion "nbconvert" "6.5.1"
4039
checkPythonPackageVersion "werkzeug" "3.0.3"

src/miniconda/.devcontainer/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
FROM continuumio/miniconda3 as upstream
22

3+
# Verify OS version is expected one
4+
RUN . /etc/os-release && if [ "${VERSION_CODENAME}" != "bookworm" ]; then exit 1; fi
5+
36
# Temporary: Upgrade python packages
47
COPY ./apply_security_patches.sh /tmp/apply_security_patches.sh
58
RUN chmod +x /tmp/apply_security_patches.sh

0 commit comments

Comments
 (0)