blob: 27bd668b6aa2b638365222f374af37772e5364cc (
plain)
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
|
FROM debian:9
LABEL Description="Debian development environment for Qbs with Qt 5.9 and various dependencies for testing Qbs modules and functionality"
# Dependencies of the Qt offline installer
RUN apt-get -y update && apt-get install -y \
curl \
libdbus-1-3 \
libexpat1 \
libfontconfig1 \
libfreetype6 \
libgl1-mesa-glx \
libglib2.0-0 \
libx11-6 \
libx11-xcb1
COPY qtifwsilent.qs qtifwsilent.qs
RUN curl -L -O 'https://download.qt.io/official_releases/qt/5.9/5.9.3/qt-opensource-linux-x64-5.9.3.run' && \
chmod +x qt-opensource-linux-x64-5.9.3.run && \
QT_INSTALL_DIR=/usr/local/Qt ./qt-opensource-linux-x64-5.9.3.run --platform minimal --script qtifwsilent.qs && \
rm -f qt-opensource-linux-x64-5.9.3.run
ENV QTDIR /usr/local/Qt/5.9.3/gcc_64
ENV PATH="/usr/local/Qt/Tools/QtCreator/bin:${PATH}"
RUN ls "$QTDIR" && stat "$QTDIR/lib/libQt5Script.so" && qbs --version
RUN apt-get -y update && apt-get install -y \
g++ \
gcc \
git \
help2man \
python-pip
RUN pip install beautifulsoup4 lxml # for building the documentation
|