Move to debian bookworm

Move to debian bookworm

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2023-09-30 14:25:32 +02:00
parent 9eb419cf6b
commit 46b2600a3f
No known key found for this signature in database
GPG Key ID: D00C6B1021747EED
3 changed files with 6 additions and 4 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@ Dockerfile
web-wasm/Dockerfile web-wasm/Dockerfile
*/imagefiles/* */imagefiles/*
!imagefiles/* !imagefiles/*
crosstool-ng/*

View File

@ -1,4 +1,4 @@
ARG DOCKER_IMAGE=debian:bullseye-slim ARG DOCKER_IMAGE=debian:bookworm-slim
FROM $DOCKER_IMAGE FROM $DOCKER_IMAGE
LABEL maintainer="Matt McCormick matt.mccormick@kitware.com" LABEL maintainer="Matt McCormick matt.mccormick@kitware.com"

View File

@ -23,10 +23,11 @@ cd /tmp
curl -# -LO https://bootstrap.pypa.io/pip/get-pip.py curl -# -LO https://bootstrap.pypa.io/pip/get-pip.py
# https://github.com/pypa/setuptools/issues/2993 # https://github.com/pypa/setuptools/issues/2993
export SETUPTOOLS_USE_DISTUTILS=stdlib export SETUPTOOLS_USE_DISTUTILS=stdlib
${PYTHON} get-pip.py --ignore-installed # Add --break-system-packages to fix change since python 3.11: https://stackoverflow.com/a/75722775/10152334
${PYTHON} get-pip.py --ignore-installed --break-system-packages
rm get-pip.py rm get-pip.py
${PYTHON} -m pip install --upgrade --ignore-installed setuptools ${PYTHON} -m pip install --break-system-packages --upgrade --ignore-installed setuptools
${PYTHON} -m pip install --ignore-installed conan meson ${PYTHON} -m pip install --break-system-packages --ignore-installed conan meson
# Purge cache to save space: https://stackoverflow.com/questions/37513597/is-it-safe-to-delete-cache-pip-directory # Purge cache to save space: https://stackoverflow.com/questions/37513597/is-it-safe-to-delete-cache-pip-directory
${PYTHON} -m pip cache purge ${PYTHON} -m pip cache purge