docker: Fix CentOS 6 build on Docker Hub (#24804)
This change make yum usable again on CentOS 6
This commit is contained in:
		 Massimiliano Culpo
					Massimiliano Culpo
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							0edc55adc2
						
					
				
				
					commit
					2a858f8f3d
				
			| @@ -9,6 +9,9 @@ ENV DOCKERFILE_BASE=centos            \ | ||||
|     CURRENTLY_BUILDING_DOCKER_IMAGE=1 \ | ||||
|     container=docker | ||||
|  | ||||
| # Make yum usable again with CentOS 6 | ||||
| RUN curl https://www.getpagespeed.com/files/centos6-eol.repo --output /etc/yum.repos.d/CentOS-Base.repo | ||||
|  | ||||
| RUN yum update -y \ | ||||
|  && yum install -y epel-release \ | ||||
|  && yum update -y \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user