mirror of
				https://git.jami.net/savoirfairelinux/jami-client-qt.git
				synced 2025-11-04 08:10:18 +08:00 
			
		
		
		
	Fedora: "WARNING: QtWebEngine won't be built. Python3 html5lib is missing." Ubuntu 20.04: Curl not found for nodejs Change-Id: Ic35aee309f25be20a8934b5033e3fe3ea0a8b6c0
		
			
				
	
	
		
			32 lines
		
	
	
		
			960 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			960 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
FROM ubuntu:20.04
 | 
						|
 | 
						|
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 \
 | 
						|
        wget \
 | 
						|
        curl
 | 
						|
 | 
						|
# nodejs
 | 
						|
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
 | 
						|
RUN apt install nodejs -y
 | 
						|
 | 
						|
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
 | 
						|
 | 
						|
# Install CMake 3.19 for Qt 6
 | 
						|
ADD extras/packaging/gnu-linux/scripts/install-cmake.sh /opt/install-cmake.sh
 | 
						|
RUN /opt/install-cmake.sh
 | 
						|
 | 
						|
ADD extras/packaging/gnu-linux/scripts/build-package-debian.sh /opt/build-package-debian.sh
 | 
						|
CMD ["/opt/build-package-debian.sh"]
 |