Taro Matsuzawa aka. btm
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
mailcatcher/Dockerfile
|
|
@ -1,4 +1,4 @@ |
|
|
|
FROM ruby:2.4-alpine3.6 |
|
|
|
FROM ruby:2.7.6-alpine3.15 |
|
|
|
|
|
|
|
LABEL maintainer="Johannes Schickling <schickling.j@gmail.com>" |
|
|
|
|
|
|
@ -9,7 +9,7 @@ RUN set -xe \ |
|
|
|
&& apk add --no-cache --virtual .build-deps \ |
|
|
|
build-base \ |
|
|
|
sqlite-dev \ |
|
|
|
&& gem install mailcatcher -v 0.8.0 --no-ri --no-rdoc \ |
|
|
|
&& gem install mailcatcher -v 0.8.2 -N \ |
|
|
|
&& apk del .build-deps |
|
|
|
|
|
|
|
ENV HTTPPATH="/" |
|
|
@ -20,4 +20,4 @@ EXPOSE 1025 |
|
|
|
# webserver port |
|
|
|
EXPOSE 1080 |
|
|
|
|
|
|
|
CMD ["sh", "-c", "mailcatcher --no-quit --foreground --ip=0.0.0.0 --http-path $HTTPPATH"] |
|
|
|
CMD ["sh", "-c", "mailcatcher --no-quit --foreground --ip=0.0.0.0 --http-path $HTTPPATH"] |