File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1- FROM --platform=linux/amd64 registry.hub.docker.com/library/debian:buster
1+ FROM --platform=linux/amd64 registry.hub.docker.com/library/debian:bookworm
2+
3+ # Set up a Python virtual environment.
4+ # This isolates project dependencies from the system's Python.
5+ # We include --system-site-packages to allow access to apt-installed modules
6+ # like dbus or gi, which are often system-level dependencies.
7+ ENV VIRTUAL_ENV=/opt/venv
8+ ENV PATH="/opt/venv/bin:$PATH"
29
310LABEL Maintainer=
"[email protected] " \
411 Comment="Ultimaker update-tools filesystem"
512
6- RUN apt-get update && apt-get -y install cmake make python3 python3-pip git libxml2-dev libxslt-dev
13+ RUN apt-get update && apt-get -y install cmake make python3 python3-pip python3-venv git libxml2-dev libxslt-dev
14+
15+ # Create the Python virtual environment.
16+ RUN python3 -m venv --system-site-packages ${VIRTUAL_ENV}
717
818COPY docker_env/buildenv_check.sh buildenv_check.sh
919
Original file line number Diff line number Diff line change 1- lxml==4.6.5
1+ lxml==6.0.0
You can’t perform that action at this time.
0 commit comments