mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-21 22:08:25 +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
32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
FROM gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-centos:7
|
|
|
|
MAINTAINER Peio Rigaux <peio.rigaux@belledonne-communications.com>
|
|
|
|
#QT Dependenciesi (pigz is used to parallelize compression)
|
|
RUN sudo yum install -y libxkbcommon* libxcb pigz
|
|
|
|
|
|
# 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 && \
|
|
sudo rpm -i ./linphone-desktop/rpm-linphone-qt-5.12.5/rpmbuild/RPMS/x86_64/*.rpm && \
|
|
sudo mv ./linphone-desktop/rpm-linphone-qt-5.12.5/rpmbuild/RPMS/x86_64/*.rpm / && \
|
|
sudo rm -rf ./linphone-desktop
|
|
|
|
# Configure AppImages dependencies
|
|
RUN sudo yum install -y fuse fuse-libs wget
|
|
|
|
RUN echo 'source /opt/rh/devtoolset-8/enable' >> /home/bc/.bashrc
|
|
RUN echo 'source /opt/rh/devtoolset-8/enable' >> /home/bc/.shrc
|
|
|
|
# This tells /bin/sh to load '~/.shrc' on starting
|
|
ENV ENV=~/.shrc
|
|
|
|
|
|
ENV Qt5_DIR=/opt/com.belledonne-communications/linphone/lib/cmake
|
|
ENV PATH=$PATH:/opt/com.belledonne-communications/linphone/bin
|
|
|
|
USER bc
|
|
WORKDIR /home/bc
|
|
ENV PS1='\[\e[34m\]\u@bc-dev-centos7>\[\e[0m\] '
|
|
CMD bash
|