main: prepare environment
Non interactive dpkg and apt
This commit is contained in:
		
							parent
							
								
									c84039fd8e
								
							
						
					
					
						commit
						147656c479
					
				
					 1 changed files with 18 additions and 0 deletions
				
			
		
							
								
								
									
										18
									
								
								main.js
									
										
									
									
									
								
							
							
						
						
									
										18
									
								
								main.js
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -88,6 +88,24 @@ async function main() {
 | 
			
		|||
        ])
 | 
			
		||||
        core.endGroup()
 | 
			
		||||
 | 
			
		||||
        core.startGroup("Prepare environment")
 | 
			
		||||
        await exec.exec("docker", [
 | 
			
		||||
            "exec",
 | 
			
		||||
            container,
 | 
			
		||||
            "bash -c 'rm /etc/apt/apt.conf.d/*'"
 | 
			
		||||
        ])
 | 
			
		||||
        await exec.exec("docker", [
 | 
			
		||||
            "exec",
 | 
			
		||||
            container,
 | 
			
		||||
            "bash -c 'echo APT::Get::Assume-Yes \"true\"\; > /etc/apt/apt.conf.d/00noconfirm'"
 | 
			
		||||
        ])
 | 
			
		||||
        await exec.exec("docker", [
 | 
			
		||||
            "exec",
 | 
			
		||||
            container,
 | 
			
		||||
            "bash -c 'echo debconf debconf/frontend select Noninteractive | debconf-set-selections'"
 | 
			
		||||
        ])
 | 
			
		||||
        core.endGroup()
 | 
			
		||||
 | 
			
		||||
        if (revision) {
 | 
			
		||||
            core.startGroup("Create tarball")
 | 
			
		||||
            await exec.exec("docker", [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue