mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Remove the fuse mandatory for CI. Update CI to use Qt custom version and update application to Qt 5.15.12.
43 lines
2.4 KiB
Text
43 lines
2.4 KiB
Text
FROM gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-debian9:20210421_python3_fix_pip
|
|
|
|
ARG QT_EMAIL
|
|
ARG QT_PASSWORD
|
|
ARG QT_VERSION=5.15.12
|
|
ARG QT_VERSION_MODULE=qt.qt5.51512
|
|
|
|
MAINTAINER Peio Rigaux <peio.rigaux@belledonne-communications.com>
|
|
|
|
#Tools for QT buid script
|
|
RUN sudo apt-get update && sudo apt-get install -y pigz
|
|
|
|
#QT Dependencies
|
|
#atspi and dbus may be used to enable qt accessibility for screan reader
|
|
#xkbcommon is needed for special keyboard features
|
|
#flite1-dev, libspeechd-dev speech-dispatcher are needed for text to speech
|
|
#libfontconfig1-dev is needed to load correct fonts (support of ideograms, etc..)
|
|
#needed for xcb : libfontconfig1-dev libfreetype6-dev libx11-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libx11-xcb-dev libxcb-glx0-dev libxkbcommon-x11-dev
|
|
RUN sudo apt-get update && sudo apt-get install -y libxkbcommon* flite1-dev libspeechd-dev speech-dispatcher libfontconfig1-dev libfreetype6-dev libx11-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libx11-xcb* libxcb* qdbus-qt5 libqt5dbus5 libdbus-1-dev libdbus-glib-1-dev libatspi2.0-0 libatspi2.0-dev
|
|
RUN sudo apt-get update && sudo apt-get install -y libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev
|
|
|
|
#needed fot qt to find dbus
|
|
ENV PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
|
|
|
|
#Appimage deps
|
|
RUN sudo apt-get install -y wget fuse libfuse2 gnupg2
|
|
|
|
#Update certificates
|
|
RUN sudo sed -i '/^mozilla\/DST_Root_CA_X3/s/^/!/' /etc/ca-certificates.conf
|
|
RUN sudo update-ca-certificates -f
|
|
|
|
# Add Qt and download
|
|
ADD https://download.qt.io/development_releases/online_installers/4.4/qt-unified-linux-x64-4.4.0-beta-online.run /home/bc/qt-unified-linux-x64-4.4.0-beta-online.run
|
|
RUN sudo chmod +x /home/bc/qt-unified-linux-x64-4.4.0-beta-online.run
|
|
RUN sudo /home/bc/qt-unified-linux-x64-4.4.0-beta-online.run install $QT_VERSION_MODULE $QT_VERSION_MODULE.qtpdf $QT_VERSION_MODULE.qtwebengine $QT_VERSION_MODULE.qtnetworkauth --email $QT_EMAIL --pw $QT_PASSWORD --accept-licenses --accept-obligations --auto-answer telemetry-question=No,AssociateCommonFiletypes=Yes --confirm-command --no-default-installations
|
|
|
|
USER bc
|
|
WORKDIR /home/bc
|
|
|
|
ENV Qt5_DIR=/opt/Qt/$QT_VERSION/gcc_64/lib/cmake
|
|
ENV PATH=/opt/Qt/$QT_VERSION/gcc_64/bin:$PATH
|
|
ENV PS1='\[\e[34m\]\u@bc-dev-centos7>\[\e[0m\] '
|
|
CMD bash
|