Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions docker_env/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
FROM --platform=linux/amd64 registry.hub.docker.com/library/debian:buster
FROM --platform=linux/amd64 registry.hub.docker.com/library/debian:bookworm

# Set up a Python virtual environment.
# This isolates project dependencies from the system's Python.
# We include --system-site-packages to allow access to apt-installed modules
# like dbus or gi, which are often system-level dependencies.
ENV VIRTUAL_ENV=/opt/venv
ENV PATH="/opt/venv/bin:$PATH"

LABEL Maintainer="[email protected]" \
Comment="Ultimaker update-tools filesystem"

RUN apt-get update && apt-get -y install cmake make python3 python3-pip git libxml2-dev libxslt-dev
RUN apt-get update && apt-get -y install cmake make python3 python3-pip python3-venv git libxml2-dev libxslt-dev

# Create the Python virtual environment.
RUN python3 -m venv --system-site-packages ${VIRTUAL_ENV}

COPY docker_env/buildenv_check.sh buildenv_check.sh

Expand Down
2 changes: 1 addition & 1 deletion fdm_requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lxml==4.6.5
lxml==6.0.0