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
26
26
WORKDIR /tmp
27
27
RUN wget -q https://www.python.org/ftp/python/2.7.11/Python-2.7.11.tar.xz && \
28
28
tar xJvf Python-2.7.11.tar.xz && \
29
-
cd Python-2.7.11 && ./configure --enable-shared --enable-unicode=ucs4 --prefix=/opt/mlc-python-2.7.11 && \
30
-
make && make install
29
+
cd Python-2.7.11 && ./configure --enable-shared --enable-unicode=ucs4 --prefix=/opt/mlc-python-2.7.11 && make && make install && \
30
+
rm -rf /tmp/Python-2.7.11*
31
31
32
32
# Create .sh who will load the desired enviroment to run python within it
33
33
RUN echo '#!/bin/bash' >> /opt/mlc-python-2.7.11/bin/mlc_python && \
Copy file name to clipboardExpand all lines: tools/installer/Dockerfiles/fedora-20/Dockerfile
+61-36Lines changed: 61 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ RUN yum --enablerepo=updates-testing update -y
21
21
RUN yum --enablerepo=updates-testing install openssl-devel -y
22
22
23
23
# Install packages
24
-
RUN yum install tk-devel lapack-devel cmake tcl tcl-devel expect tkinter openssh-server gcc gcc-c++ wget xz make vim openssh-clients rpm-build ruby-devel libpng libpng-devel sqlite-devel qt5-qtbase qt5-qtbase-devel qt5-qtdeclarative qt5-qtdeclarative-devel -y
24
+
RUN yum install tk-devel lapack-devel cmake tcl tcl-devel expect tkinter openssh-server gcc gcc-c++ wget xz make vim openssh-clients rpm-build ruby-devel libpng libpng-devel sqlite-devel libxkbcommon -y
25
25
26
26
WORKDIR /tmp
27
27
# Compile Openssl from scratch. There are dependency problems with this packet in Fedora 20
@@ -31,10 +31,11 @@ WORKDIR /tmp
31
31
32
32
# Download python 2.7.11
33
33
# 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
34
+
WORKDIR /tmp
34
35
RUN wget -q https://www.python.org/ftp/python/2.7.11/Python-2.7.11.tar.xz && \
35
36
tar xJvf Python-2.7.11.tar.xz && \
36
-
cd Python-2.7.11 && ./configure --enable-shared --enable-unicode=ucs4 --prefix=/opt/mlc-python-2.7.11 && \
37
-
make && make install
37
+
cd Python-2.7.11 && ./configure --enable-shared --enable-unicode=ucs4 --prefix=/opt/mlc-python-2.7.11 && make && make install && \
38
+
rm -rf /tmp/Python-2.7.11*
38
39
39
40
# Create .sh who will load the desired enviroment to run python within it
40
41
RUN echo '#!/bin/bash' >> /opt/mlc-python-2.7.11/bin/mlc_python && \
0 commit comments