mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-22 14:18:09 +00:00
* Parallelized compression for rpm package (with pigz) * Fixed dependencies in docker files * Fixed qt configure in RPM spec file (added font support with fontconfig, accessibility options, text-to-speech...) * Little sed + xargs hack to workaround some distros refusing to build with python2 shebangs * Change Qt git repo for building docker image to https in order to pass firewall and avoid timeout while cloning
28 lines
987 B
Text
28 lines
987 B
Text
FROM gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-debian:9
|
|
|
|
MAINTAINER Peio Rigaux <peio.rigaux@belledonne-communications.com>
|
|
|
|
#Tools for QT buid script
|
|
RUN sudo apt-get update && sudo apt-get install -y python3 pigz
|
|
|
|
|
|
#QT Dependencies
|
|
RUN sudo apt-get update && sudo apt-get install -y libxkbcommon*
|
|
|
|
# Build qt5.12.5
|
|
RUN git clone -b master --single-branch https://gitlab.linphone.org/BC/public/linphone-desktop.git && \
|
|
./linphone-desktop/tools/build_qt_rpm && \
|
|
find "./linphone-desktop/rpm-linphone-qt-5.12.5/rpmbuild/RPMS/x86_64/" -iname "*.rpm" -exec sudo fakeroot alien -d {} + && \
|
|
find "." -maxdepth 1 -iname "*.deb" -exec sudo dpkg -i {} + && \
|
|
rm -rf ./linphone-desktop
|
|
|
|
ENV Qt5_DIR=/opt/com.belledonne-communications/linphone/lib/cmake
|
|
ENV PATH=$PATH:/opt/com.belledonne-communications/linphone/bin
|
|
|
|
#Appimage deps
|
|
RUN sudo apt-get install -y wget fuse fuse-libs
|
|
|
|
USER bc
|
|
WORKDIR /home/bc
|
|
ENV PS1='\[\e[34m\]\u@bc-dev-centos7>\[\e[0m\] '
|
|
CMD bash
|