From 57d6ac48655498f9ee29259a9d9650ce1c0dff6f Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Fri, 6 Sep 2024 09:01:32 +0200 Subject: [PATCH] fix: fix build issue from simulavr (#38) --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ad65f02..3f0f7d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,9 @@ RUN apt-get update && apt-get install -y \ libffi-dev \ python3-dev \ python3-libgpiod \ + python3-distutils \ + ### \ + && pip install setuptools \ ### clean up && apt-get -y autoremove \ && apt-get clean \ @@ -39,10 +42,10 @@ RUN git clone -b master https://git.savannah.nongnu.org/git/simulavr.git \ # Build the firmware && cd klipper \ && cp /usr/src/simulavr.config .config \ - && make PYTHON=python3 \ + && make \ && cp out/klipper.elf /build/simulavr.elf \ && rm -f .config \ - && make PYTHON=python3 clean \ + && make clean \ # Build simulavr && cd ../simulavr \ && make python \