Fixup docker build/run (#5139)

* Fix MPFR dep build on docker

* Clean up after docker run
This commit is contained in:
JayKim 2024-04-30 07:05:59 -06:00 committed by GitHub
parent aa209903d5
commit 423f557c34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -20,6 +20,8 @@ docker run \
--privileged=true \
`# Attach tty for running orca slicer with command line things` \
-ti \
`# Clean up after yourself` \
--rm \
`# Pass all parameters from this script to the orca slicer ENTRYPOINT binary` \
orcaslicer $*

View file

@ -37,6 +37,7 @@ RUN apt-get update && apt-get install -y \
libsoup2.4-dev \
libssl3 \
libssl-dev \
libtool \
libudev-dev \
libwayland-dev \
libwebkit2gtk-4.0-dev \
@ -67,9 +68,8 @@ WORKDIR OrcaSlicer
RUN ./BuildLinux.sh -u
# Build dependencies in ./deps
RUN ./BuildLinux.sh -d; exit 0
RUN ./BuildLinux.sh -d
RUN apt-get install -y libcgal-dev
# Build slic3r
RUN ./BuildLinux.sh -s