mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	Makes sure the GPG key fingerprint is inlined in the doc everywhere.
Instead of `curl $url | apt-get add -` use the ubuntu keyserver and a full fingerprint to retreive the key. This makes the distribution of the GPG key more secure an less likely to change even if 3rd party gains access to the packages repository. Docker-DCO-1.0-Signed-off-by: Jonas Pfenniger <zimbatm@zimbatm.com> (github: zimbatm)
This commit is contained in:
		
							parent
							
								
									b3addb5fb8
								
							
						
					
					
						commit
						13ebc68636
					
				
					 6 changed files with 9 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -245,7 +245,7 @@ EOF
 | 
			
		|||
# Add the repository to your APT sources
 | 
			
		||||
echo deb $(s3_url)/ubuntu docker main > /etc/apt/sources.list.d/docker.list
 | 
			
		||||
# Then import the repository key
 | 
			
		||||
curl $(s3_url)/gpg | apt-key add -
 | 
			
		||||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
 | 
			
		||||
# Install docker
 | 
			
		||||
apt-get update ; apt-get install -y lxc-docker
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue