You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							23 lines
						
					
					
						
							516 B
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							23 lines
						
					
					
						
							516 B
						
					
					
				| FROM ruby:2.4-alpine3.6 | |
|  | |
| LABEL maintainer="Johannes Schickling <schickling.j@gmail.com>" | |
|  | |
| RUN set -xe \ | |
|     && apk add --no-cache \ | |
|         libstdc++ \ | |
|         sqlite-libs \ | |
|     && apk add --no-cache --virtual .build-deps \ | |
|         build-base \ | |
|         sqlite-dev \ | |
|     && gem install mailcatcher -v 0.8.0 --no-ri --no-rdoc \ | |
|     && apk del .build-deps | |
|  | |
| ENV HTTPPATH="/" | |
|  | |
| # smtp port | |
| EXPOSE 1025 | |
|  | |
| # webserver port | |
| EXPOSE 1080 | |
|  | |
| CMD ["sh", "-c", "mailcatcher --no-quit --foreground --ip=0.0.0.0 --http-path $HTTPPATH"] |