-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
47 lines (42 loc) · 1.05 KB
/
Dockerfile
File metadata and controls
47 lines (42 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
FROM dorowu/ubuntu-desktop-lxde-vnc:bionic
LABEL maintainer="nick@mistry.com"
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
cpanminus \
freeglut3-dev \
git \
libboost-all-dev \
libboost-filesystem-dev \
libboost-system-dev \
libboost-thread-dev \
libcurl4-openssl-dev \
libeigen3-dev \
libextutils-cppguess-perl \
libextutils-typemaps-default-perl \
libextutils-xspp-perl \
libglew-dev \
libgtk2.0-dev \
liblocal-lib-perl \
libmodule-build-perl \
libopengl-perl \
libtbb-dev \
libwx-glcanvas-perl \
libwx-perl \
libwxgtk-media3.0-dev \
libwxgtk3.0-dev \
libxmu-dev \
wx-common \
&& apt-get autoclean \
&& apt-get autoremove \
&& rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/prusa3d/Slic3r.git \
&& cd Slic3r \
&& git checkout -b origin/master
WORKDIR Slic3r
ENV LDLOADLIBS=-lstdc++
# perl Build.PL
RUN perl Build.PL --gui \
&& mkdir build && cd build \
&& cmake .. -DCMAKE_BUILD_TYPE=Release \
&& make