Skip to content

Commit 995015b

Browse files
authored
Merge pull request #370 from Ultimaker/CES-3334-fix-docker-build-for-debian-bookworm
[CES-3334] Update the docker and requirements to Bookworm
2 parents 0a6ca95 + 7ce3fba commit 995015b

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

docker_env/Dockerfile

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
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

310
LABEL 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

818
COPY docker_env/buildenv_check.sh buildenv_check.sh
919

fdm_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lxml==4.6.5
1+
lxml==6.0.0

0 commit comments

Comments
 (0)