mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-09 12:47:26 +01:00
Move to debian bookworm
Move to debian bookworm Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
9eb419cf6b
commit
46b2600a3f
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@ Dockerfile
|
|||||||
web-wasm/Dockerfile
|
web-wasm/Dockerfile
|
||||||
*/imagefiles/*
|
*/imagefiles/*
|
||||||
!imagefiles/*
|
!imagefiles/*
|
||||||
|
crosstool-ng/*
|
||||||
|
@ -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"
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user