Skip to content

Commit

Permalink
Changed container to run make clean before running make
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoard committed May 7, 2024
1 parent 2b5bf95 commit 83c0837
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ RUN apt-get update && \
python3 \
binutils

RUN apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN useradd -ms /bin/bash klipper-builder

WORKDIR /klipper

USER klipper-builder

CMD ["make"]
CMD ["/bin/bash", "-c", "make clean;make"]

0 comments on commit 83c0837

Please sign in to comment.