mirror of
				https://github.com/Burnett01/rsync-deployments.git
				synced 2025-11-04 09:29:04 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			659 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			659 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM ubuntu:latest
 | 
						|
 | 
						|
 | 
						|
# Update
 | 
						|
RUN apt-get update
 | 
						|
 | 
						|
 | 
						|
# Install packages
 | 
						|
RUN apt-get -yq install rsync openssh-client
 | 
						|
 | 
						|
 | 
						|
# Label
 | 
						|
LABEL "com.github.actions.name"="rsync deployments"
 | 
						|
LABEL "com.github.actions.description"="For deploying code to a webserver via rsync over ssh"
 | 
						|
LABEL "com.github.actions.icon"="truck"
 | 
						|
LABEL "com.github.actions.color"="yellow"
 | 
						|
 | 
						|
LABEL "repository"="http://github.com/contention/rsync-deployments"
 | 
						|
LABEL "homepage"="https://github.com/contention/rsync-deployments"
 | 
						|
LABEL "maintainer"="Contention <hello@contention.agency>"
 | 
						|
 | 
						|
 | 
						|
# Copy entrypoint
 | 
						|
ADD entrypoint.sh /entrypoint.sh
 | 
						|
RUN chmod +x /entrypoint.sh
 | 
						|
ENTRYPOINT ["/entrypoint.sh"]
 | 
						|
 |