File tree Expand file tree Collapse file tree 10 files changed +10
-12
lines changed
tools/installer/Dockerfiles Expand file tree Collapse file tree 10 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -30,3 +30,5 @@ MLC/GUI/workspace
3030
3131# Ignore the Qtcreator user configuration file
3232* .pro.user
33+
34+ tools /installer /Dockerfiles /release /*
Original file line number Diff line number Diff line change 22docker build -f ubuntu1604.dockerfile -t mlc_ubuntu:16.04 --build-arg RELEASE=0.0.2 .
33
44# Then get the .tar.gz related with the OS running the docker container
5- docker run --rm -it mlc_ubuntu:16.04 bash
5+ docker run --rm -v $(pwd)/release:/tmp/release - it mlc_ubuntu:16.04 bash
Original file line number Diff line number Diff line change @@ -98,8 +98,11 @@ RUN wget -q https://pypi.python.org/packages/source/p/pip/pip-8.0.2.tar.gz#md5=3
9898
9999RUN /opt/mlc-python-2.7.11/bin/mlc_pip install --upgrade pip
100100
101+ <<<<<<< HEAD
101102RUN /opt/mlc-python-2.7.11/bin/mlc_pip install --upgrade pip
102103
104+ =======
105+ >>>>>>> individual_tree_visualization
103106# Add PyQt5 Support
104107RUN wget https://sourceforge.net/projects/pyqt/files/sip/sip-4.19/sip-4.19.tar.gz && \
105108 tar xzvf sip-4.19.tar.gz && \
Original file line number Diff line number Diff line change @@ -124,8 +124,6 @@ RUN wget -q https://pypi.python.org/packages/source/p/pip/pip-8.0.2.tar.gz#md5=3
124124
125125RUN /opt/mlc-python-2.7.11/bin/mlc_pip install --upgrade pip
126126
127- RUN /opt/mlc-python-2.7.11/bin/mlc_pip install --upgrade pip
128-
129127# Add PyQt5 Support
130128RUN wget https://sourceforge.net/projects/pyqt/files/sip/sip-4.19/sip-4.19.tar.gz && \
131129 tar xzvf sip-4.19.tar.gz && \
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ mkdir -p $MLC_PATH/tools
66# Download the MLC code from Github
77wget " https://github.com/Ezetowers/MLC/archive/v$RELEASE .tar.gz"
88tar xzvf v$RELEASE .tar.gz -C $MLC_PATH
9+ mv $MLC_PATH /OpenMLC-Python-$RELEASE $MLC_PATH /MLC-$RELEASE
910rm -rf /tmp/v$RELEASE .tar.gz
1011
1112# Add libs and binaries used by Python before creating the .deb
@@ -55,4 +56,5 @@ rm -rf $MLC_PATH/Qt-5.7.1/mkspecs
5556# Create the MLC Package
5657tar cJvpf /tmp/MLC-$RELEASE -$OS_VERSION .tar.xz -C /tmp MLC-$RELEASE
5758fpm -s dir -t $PACKAGE_TYPE -v $RELEASE -n mlc-python-$OS_VERSION /opt/mlc-python-2.7.11
58- bash
59+ mv /tmp/MLC-$RELEASE /* .deb /tmp/release
60+ mv /tmp/* .tar.xz /tmp/release
Original file line number Diff line number Diff line change @@ -105,8 +105,6 @@ RUN wget -q https://pypi.python.org/packages/source/p/pip/pip-8.0.2.tar.gz#md5=3
105105
106106RUN /opt/mlc-python-2.7.11/bin/mlc_pip install --upgrade pip
107107
108- RUN /opt/mlc-python-2.7.11/bin/mlc_pip install --upgrade pip
109-
110108# Add PyQt5 Support
111109RUN wget https://sourceforge.net/projects/pyqt/files/sip/sip-4.19/sip-4.19.tar.gz && \
112110 tar xzvf sip-4.19.tar.gz && \
Original file line number Diff line number Diff line change 1+ Releases comes here
Original file line number Diff line number Diff line change @@ -125,8 +125,6 @@ RUN wget -q https://pypi.python.org/packages/source/p/pip/pip-8.0.2.tar.gz#md5=3
125125
126126RUN /opt/mlc-python-2.7.11/bin/mlc_pip install --upgrade pip
127127
128- RUN /opt/mlc-python-2.7.11/bin/mlc_pip install --upgrade pip
129-
130128# Add PyQt5 Support
131129RUN wget https://sourceforge.net/projects/pyqt/files/sip/sip-4.19/sip-4.19.tar.gz && \
132130 tar xzvf sip-4.19.tar.gz && \
Original file line number Diff line number Diff line change @@ -125,8 +125,6 @@ RUN wget -q https://pypi.python.org/packages/source/p/pip/pip-8.0.2.tar.gz#md5=3
125125
126126RUN /opt/mlc-python-2.7.11/bin/mlc_pip install --upgrade pip
127127
128- RUN /opt/mlc-python-2.7.11/bin/mlc_pip install --upgrade pip
129-
130128# Add PyQt5 Support
131129RUN wget https://sourceforge.net/projects/pyqt/files/sip/sip-4.19/sip-4.19.tar.gz && \
132130 tar xzvf sip-4.19.tar.gz && \
Original file line number Diff line number Diff line change @@ -125,8 +125,6 @@ RUN wget -q https://pypi.python.org/packages/source/p/pip/pip-8.0.2.tar.gz#md5=3
125125
126126RUN /opt/mlc-python-2.7.11/bin/mlc_pip install --upgrade pip
127127
128- RUN /opt/mlc-python-2.7.11/bin/mlc_pip install --upgrade pip
129-
130128# Add PyQt5 Support
131129RUN wget https://sourceforge.net/projects/pyqt/files/sip/sip-4.19/sip-4.19.tar.gz && \
132130 tar xzvf sip-4.19.tar.gz && \
You can’t perform that action at this time.
0 commit comments