Skip to content

Commit aa3c25b

Browse files
committedApr 6, 2018
retry to build all
1 parent 00fbe18 commit aa3c25b

File tree

1 file changed

+18
-23
lines changed

1 file changed

+18
-23
lines changed
 

‎.docker/qgis3-build-deps.dockerfile

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -94,18 +94,12 @@ RUN apt-get update \
9494
mock \
9595
future \
9696
termcolor \
97-
virtualenv \
98-
&& apt-get autoremove -y python2.7 \
97+
&& apt-get autoremove -y python2.7 python3-sip sip-dev \
9998
&& apt-get clean
10099

101100
RUN bash -c "echo $(sip -V)"
102101
RUN bash -c "echo $(which sip)"
103102

104-
WORKDIR /root
105-
RUN mkdir /root/virtualenvironment \
106-
&& virtualenv /root/virtualenvironment/sip419
107-
WORKDIR /root/virtualenvironment/sip419/bin
108-
RUN bash -c "source activate"
109103
WORKDIR /root
110104
RUN curl -s -S -O https://www.riverbankcomputing.com/hg/sip/archive/tip.tar.gz \
111105
&& tar xzf tip.tar.gz \
@@ -115,26 +109,27 @@ WORKDIR /root/sip419
115109
RUN python3 build.py prepare \
116110
&& python3 configure.py \
117111
&& make \
118-
&& make install \
119-
&& pip3 install PyQt5
112+
&& make install
120113

121114
RUN bash -c "echo $(sip -V)"
122115
RUN bash -c "echo $(which sip)"
123116

124-
# WORKDIR /root
125-
# RUN curl -s -S -O https://svwh.dl.sourceforge.net/project/pyqt/PyQt5/PyQt-5.9.2/PyQt5_gpl-5.9.2.tar.gz \
126-
# && tar xzf PyQt5_gpl-5.9.2.tar.gz
127-
# WORKDIR /root/PyQt5_gpl-5.9.2
128-
# RUN apt-get install -y qt5-qmake \
129-
# && python3 configure.py --confirm-license --qmake /usr/lib/x86_64-linux-gnu/qt5/bin/qmake --qsci-api --enable QtSql --enable QtSvg && make && make install
130-
#
131-
# WORKDIR /root
132-
# RUN curl -s -S -O https://cfhcable.dl.sourceforge.net/project/pyqt/QScintilla2/QScintilla-2.10.3/QScintilla_gpl-2.10.3.tar.gz
133-
# && tar xzf QScintilla_gpl-2.10.3.tar.gz
134-
# WORKDIR /root/QScintilla_gpl-2.10.3/Python
135-
# RUN python3 configure.py --pyqt=PyQt5
136-
# && make
137-
# && make install
117+
WORKDIR /root
118+
RUN curl -s -S -O https://svwh.dl.sourceforge.net/project/pyqt/PyQt5/PyQt-5.9.2/PyQt5_gpl-5.9.2.tar.gz \
119+
&& tar xzf PyQt5_gpl-5.9.2.tar.gz
120+
WORKDIR /root/PyQt5_gpl-5.9.2
121+
RUN apt-get install -y qt5-qmake \
122+
&& python3 configure.py --confirm-license --qmake /usr/lib/x86_64-linux-gnu/qt5/bin/qmake --qsci-api --enable QtSql --enable QtSvg \
123+
&& make \
124+
&& make install
125+
126+
WORKDIR /root
127+
RUN curl -s -S -O https://cfhcable.dl.sourceforge.net/project/pyqt/QScintilla2/QScintilla-2.10.3/QScintilla_gpl-2.10.3.tar.gz \
128+
&& tar xzf QScintilla_gpl-2.10.3.tar.gz
129+
WORKDIR /root/QScintilla_gpl-2.10.3/Python
130+
RUN python3 configure.py --pyqt=PyQt5 \
131+
&& make \
132+
&& make install
138133

139134
WORKDIR /root
140135

0 commit comments

Comments
 (0)