14 lines
		
	
	
		
			332 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			332 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM ubuntu:latest
 | |
| 
 | |
| # Install necessary packages
 | |
| RUN apt-get update && \
 | |
|     apt-get install -y git curl rsync
 | |
| 
 | |
| # Add script
 | |
| COPY repo_watcher.sh /root/Repo_Watcher/repo_watcher.sh
 | |
| 
 | |
| # Make script executable
 | |
| RUN chmod +x /root/Repo_Watcher/repo_watcher.sh
 | |
| 
 | |
| # Start script
 | |
| CMD ["/bin/bash", "-c", "/root/Repo_Watcher/repo_watcher.sh"] |