mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 06:30:27 +03:00 
			
		
		
		
	buildserver: default to HTTPS for apt sources
Debian Docker images will soon default to HTTPS for apt sources, so force it now: https://github.com/debuerreotype/docker-debian-artifacts/issues/15
This commit is contained in:
		
							parent
							
								
									b854f3bab7
								
							
						
					
					
						commit
						53a507d7c4
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -31,9 +31,13 @@ RUN useradd --create-home -s /bin/bash vagrant && echo -n 'vagrant:vagrant' | ch
 | 
			
		|||
# the provision scripts must be run in the same order as in Vagrantfile
 | 
			
		||||
# - vagrant needs openssh-client iproute2 ssh sudo
 | 
			
		||||
# - ansible needs python3
 | 
			
		||||
# Debian Docker images will soon default to HTTPS for apt sources, so force it.
 | 
			
		||||
# https://github.com/debuerreotype/docker-debian-artifacts/issues/15
 | 
			
		||||
RUN printf "path-exclude=/usr/share/locale/*\npath-exclude=/usr/share/man/*\npath-exclude=/usr/share/doc/*\npath-include=/usr/share/doc/*/copyright\n" >/etc/dpkg/dpkg.cfg.d/01_nodoc \
 | 
			
		||||
	&& mkdir -p /usr/share/man/man1 \
 | 
			
		||||
	&& apt-get update \
 | 
			
		||||
	&& apt-get install apt-transport-https ca-certificates \
 | 
			
		||||
	&& sed -i 's,http:,https:,' /etc/apt/sources.list \
 | 
			
		||||
	&& apt-get upgrade \
 | 
			
		||||
	&& apt-get dist-upgrade \
 | 
			
		||||
	&& apt-get install openssh-client iproute2 python3 openssh-server sudo \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue