feat: add gcc 4.6,4.8 to debian wheezy container
This commit is contained in:
		@@ -298,8 +298,6 @@ func (d Debian) runs() (commands []string) {
 | 
				
			|||||||
		"|| apt-get install -y %s", packages, packages, packages)
 | 
							"|| apt-get install -y %s", packages, packages, packages)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if d.release == 7 {
 | 
						if d.release == 7 {
 | 
				
			||||||
		cmdf("apt-get -y install gcc-4.9-backport")
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		// by default Debian backports repositories have a lower
 | 
							// by default Debian backports repositories have a lower
 | 
				
			||||||
		// priority than stable, so we should specify it manually
 | 
							// priority than stable, so we should specify it manually
 | 
				
			||||||
		cmdf("apt-get -y install -t %s-backports "+
 | 
							cmdf("apt-get -y install -t %s-backports "+
 | 
				
			||||||
@@ -319,6 +317,8 @@ func (d Debian) runs() (commands []string) {
 | 
				
			|||||||
		cmdf("apt-get -y update")
 | 
							cmdf("apt-get -y update")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		cmdf("apt-get -y install -t jessie libc6")
 | 
							cmdf("apt-get -y install -t jessie libc6")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							cmdf("apt-get -y install gcc-4.6 gcc-4.8 gcc-4.9-backport")
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	cmdf("mkdir -p /lib/modules")
 | 
						cmdf("mkdir -p /lib/modules")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user