mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	 377404448c
			
		
	
	
		377404448c
		
			
		
	
	
	
	
		
			
			We use this mapping to provide recommendations on which packages to install on Linux distributions. References #2745
		
			
				
	
	
		
			20 lines
		
	
	
		
			546 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			546 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| set -e
 | |
| set +x
 | |
| 
 | |
| # Install Node.js
 | |
| 
 | |
| apt-get update && apt-get install -y curl && \
 | |
|     curl -sL https://deb.nodesource.com/setup_12.x | bash - && \
 | |
|     apt-get install -y nodejs
 | |
| 
 | |
| # Install apt-file
 | |
| apt-get update && apt-get install -y apt-file && apt-file update
 | |
| 
 | |
| # Install tip-of-tree playwright
 | |
| mkdir /root/tmp && cd /root/tmp && npm init -y && npm i /root/hostfolder/playwright.tar.gz
 | |
| 
 | |
| cp /root/hostfolder/inside_docker/list_dependencies.js /root/tmp/list_dependencies.js
 | |
| 
 | |
| node list_dependencies.js | tee /root/hostfolder/RUN_RESULT
 |