Fixup docker build/run (#5139)
* Fix MPFR dep build on docker * Clean up after docker run
This commit is contained in:
parent
aa209903d5
commit
423f557c34
2 changed files with 4 additions and 2 deletions
|
@ -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 $*
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue