diff --git a/host-agent/Dockerfile.build b/host-agent/Dockerfile.build index e86334f..29d05d7 100644 --- a/host-agent/Dockerfile.build +++ b/host-agent/Dockerfile.build @@ -4,6 +4,12 @@ FROM python:3.11-slim-bullseye WORKDIR /build + +# PyInstaller braucht objdump aus binutils (im slim-Image nicht enthalten). +RUN apt-get update \ + && apt-get install -y --no-install-recommends binutils \ + && rm -rf /var/lib/apt/lists/* + RUN pip install --no-cache-dir pyinstaller COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt