You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# For more information about the compilation of the Python: http://www.mathworks.com/help/matlab/matlab_external/system-requirements-for-matlab-engine-for-python.html?requestedDomain=www.mathworks.com
30
30
RUN wget -q https://www.python.org/ftp/python/2.7.11/Python-2.7.11.tar.xz && \
31
31
tar xJvf Python-2.7.11.tar.xz && \
32
-
cd Python-2.7.11 && ./configure --enable-shared --enable-unicode=ucs4 --prefix=/opt/mlc-python-2.7.11 && make && make install && \
32
+
cd Python-2.7.11 && ./configure --enable-shared --enable-unicode=ucs4 --prefix=/opt/mlc-python-3.6.2 && make && make install && \
33
33
rm -rf /tmp/Python-2.7.11*
34
34
35
35
# Install Qt5.7
36
36
RUN git clone git://code.qt.io/qt/qtbase.git && \
37
37
cd qtbase && \
38
38
git checkout 5.7 && \
39
-
./configure --prefix=/opt/mlc-python-2.7.11/Qt-5.7.1 -xkb-config-root /usr/share/X11/xkb -no-gtk -nomake tests -nomake examples -qt-xcb --opensource --confirm-license && make -j4 && make install && \
39
+
./configure --prefix=/opt/mlc-python-3.6.2/Qt-5.7.1 -xkb-config-root /usr/share/X11/xkb -no-gtk -nomake tests -nomake examples -qt-xcb --opensource --confirm-license && make -j4 && make install && \
40
40
rm -rf /tmp/qtbase
41
41
42
42
RUN git clone git://code.qt.io/qt/qttools.git && \
43
43
cd qttools && \
44
44
git checkout 5.7 && \
45
-
/opt/mlc-python-2.7.11/Qt-5.7.1/bin/qmake CONFIG+=release && make -j4 && make install && \
45
+
/opt/mlc-python-3.6.2/Qt-5.7.1/bin/qmake CONFIG+=release && make -j4 && make install && \
46
46
rm -rf /tmp/qttools
47
47
48
48
RUN git clone git://code.qt.io/qt/qtcharts.git && \
49
49
cd qtcharts && \
50
50
git checkout 5.7 && \
51
-
/opt/mlc-python-2.7.11/Qt-5.7.1/bin/qmake CONFIG+=release && make -j4 && make install && \
51
+
/opt/mlc-python-3.6.2/Qt-5.7.1/bin/qmake CONFIG+=release && make -j4 && make install && \
52
52
rm -rf /tmp/qtcharts
53
53
54
54
RUN git clone git://code.qt.io/qt/qtdatavis3d.git && \
55
55
cd qtdatavis3d && \
56
56
git checkout 5.7 && \
57
-
/opt/mlc-python-2.7.11/Qt-5.7.1/bin/qmake CONFIG+=release && make -j4 && make install && \
57
+
/opt/mlc-python-3.6.2/Qt-5.7.1/bin/qmake CONFIG+=release && make -j4 && make install && \
58
58
rm -rf /tmp/qtdatavis3d
59
59
60
60
RUN git clone git://code.qt.io/qt/qtdeclarative.git && \
61
61
cd qtdeclarative && \
62
62
git checkout 5.7 && \
63
-
/opt/mlc-python-2.7.11/Qt-5.7.1/bin/qmake CONFIG+=release && make -j4 && make install && \
63
+
/opt/mlc-python-3.6.2/Qt-5.7.1/bin/qmake CONFIG+=release && make -j4 && make install && \
64
64
rm -rf /tmp/qtdeclarative
65
65
66
66
RUN git clone git://code.qt.io/qt/qtx11extras.git && \
67
67
cd qtx11extras && \
68
68
git checkout 5.7 && \
69
-
/opt/mlc-python-2.7.11/Qt-5.7.1/bin/qmake CONFIG+=release && make -j4 && make install && \
69
+
/opt/mlc-python-3.6.2/Qt-5.7.1/bin/qmake CONFIG+=release && make -j4 && make install && \
70
70
rm -rf /tmp/qtx11extras
71
71
72
72
RUN git clone https://github.com/Ezetowers/qt5ct.git && \
73
73
cd qt5ct && \
74
-
/opt/mlc-python-2.7.11/Qt-5.7.1/bin/qmake PREFIX=/opt/mlc-python-2.7.11/qt5ct && make -j4 && make install && \
74
+
/opt/mlc-python-3.6.2/Qt-5.7.1/bin/qmake PREFIX=/opt/mlc-python-3.6.2/qt5ct && make -j4 && make install && \
75
75
rm -rf /tmp/qt5ct
76
76
77
77
RUN git clone git://code.qt.io/qt/qtstyleplugins.git && \
78
78
cd qtstyleplugins && \
79
-
/opt/mlc-python-2.7.11/Qt-5.7.1/bin/qmake && make && \
Copy file name to clipboardExpand all lines: tools/installer/Dockerfiles/debian8.dockerfile
+29-39Lines changed: 29 additions & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ FROM debian:8
3
3
4
4
WORKDIR /tmp
5
5
6
-
RUN mkdir -p /opt/mlc-python-2.7.11/bin /tmp/MLC /tmp/Scripts
6
+
RUN mkdir -p /opt/mlc-python-3.6.2/bin
7
7
8
8
# Update the current system
9
9
RUN apt-get update && apt-get upgrade -y
@@ -54,103 +54,91 @@ RUN apt-get install cmake \
54
54
# For more information about the compilation of the Python: http://www.mathworks.com/help/matlab/matlab_external/system-requirements-for-matlab-engine-for-python.html?requestedDomain=www.mathworks.com
55
55
RUN wget -q https://www.python.org/ftp/python/2.7.11/Python-2.7.11.tar.xz && \
56
56
tar xJvf Python-2.7.11.tar.xz && \
57
-
cd Python-2.7.11 && ./configure --enable-shared --enable-unicode=ucs4 --prefix=/opt/mlc-python-2.7.11 && make && make install && \
57
+
cd Python-2.7.11 && ./configure --enable-shared --enable-unicode=ucs4 --prefix=/opt/mlc-python-3.6.2 && make && make install && \
0 commit comments