mirror of
				https://github.com/MatteZ02/infra.git
				synced 2025-11-04 01:59:33 +00:00 
			
		
		
		
	Update
This commit is contained in:
		
							
								
								
									
										15
									
								
								files/ssh/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								files/ssh/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
FROM docker.io/library/debian
 | 
			
		||||
 | 
			
		||||
RUN apt update && \
 | 
			
		||||
    apt install -y openssh-server rsync git
 | 
			
		||||
 | 
			
		||||
RUN rm -rf /etc/ssh/ssh_host* && \
 | 
			
		||||
    mkdir -p /run/sshd
 | 
			
		||||
 | 
			
		||||
COPY entrypoint.sh /
 | 
			
		||||
 | 
			
		||||
RUN chmod +x entrypoint.sh
 | 
			
		||||
 | 
			
		||||
COPY sshd_config /etc/ssh/sshd_config
 | 
			
		||||
 | 
			
		||||
CMD ./entrypoint.sh
 | 
			
		||||
		Reference in New Issue
	
	Block a user