2022-12-01 16:37:19 -05:00
|
|
|
FROM debian:unstable
|
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
RUN apt-get clean
|
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y -o Acquire::Retries=10 \
|
|
|
|
devscripts \
|
|
|
|
equivs \
|
|
|
|
python-is-python3 \
|
|
|
|
libdbus-1-dev \
|
|
|
|
wget
|
|
|
|
|
2023-12-19 11:12:19 -05:00
|
|
|
# As of January 2024, the default compiler on Debian unstable is GCC 13.2.0, which
|
|
|
|
# can't build one of Qt 6.6.1's dependencies, see:
|
|
|
|
# https://github.com/qt/qtquick3d-assimp/commit/253f8bfa621a9fa6cd2c36291cdaa8c60c99322c
|
|
|
|
# The linked commit above fixes the problem and is included in more recent versions of Qt.
|
|
|
|
# For now, we use GCC 12 as a temporary workaround:
|
|
|
|
ADD extras/packaging/gnu-linux/scripts/install-gcc-debian.sh /opt/install-gcc-debian.sh
|
|
|
|
RUN /opt/install-gcc-debian.sh 12
|
|
|
|
|
2022-12-01 16:37:19 -05:00
|
|
|
ADD extras/packaging/gnu-linux/scripts/prebuild-package-debian.sh /opt/prebuild-package-debian.sh
|
|
|
|
|
|
|
|
COPY extras/packaging/gnu-linux/rules/debian-qt/control /tmp/builddeps/debian/control
|
|
|
|
RUN /opt/prebuild-package-debian.sh qt-deps
|
|
|
|
|
|
|
|
COPY extras/packaging/gnu-linux/rules/debian/control /tmp/builddeps/debian/control
|
|
|
|
RUN /opt/prebuild-package-debian.sh jami-deps
|
|
|
|
|
2024-08-06 15:05:48 -04:00
|
|
|
RUN apt-get remove -y libre2-dev libre2-11
|
2022-12-01 16:37:19 -05:00
|
|
|
|
|
|
|
ADD extras/packaging/gnu-linux/scripts/build-package-debian.sh /opt/build-package-debian.sh
|
|
|
|
CMD ["/opt/build-package-debian.sh"]
|