You've already forked dockerfiles
							
							
				mirror of
				https://github.com/vimagick/dockerfiles.git
				synced 2025-10-30 23:47:48 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			347 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			347 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| #
 | |
| # Dockerfile for openssh
 | |
| #
 | |
| 
 | |
| FROM alpine
 | |
| MAINTAINER kev <noreply@easypi.pro>
 | |
| 
 | |
| RUN set -xe \
 | |
|     && apk add --no-cache openssh \
 | |
|     && mkdir -p 700 /root/.ssh \
 | |
|     && mv /etc/ssh /root/.ssh/ssh \
 | |
|     && ln -s /root/.ssh/ssh /etc/ssh
 | |
| 
 | |
| COPY docker-entrypoint.sh /entrypoint.sh
 | |
| 
 | |
| WORKDIR /root
 | |
| VOLUME /root
 | |
| 
 | |
| EXPOSE 22
 | |
| 
 | |
| ENTRYPOINT ["/entrypoint.sh"]
 |