Skip to content

Commit

Permalink
fix: fix build issue from simulavr (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteyou authored Sep 6, 2024
1 parent bd5be1f commit 57d6ac4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down

0 comments on commit 57d6ac4

Please sign in to comment.